![]()  | 
 
Bug in constraints | 
 
    Post Reply  
   | 
  
| Author | |
   
   mlatona  
   
   Senior Member  
   Joined: 19 April 2005 Location: Germany Status: Offline Points: 124  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Bug in constraintsPosted: 19 October 2009 at 4:21am  | 
 
| 
   
    
   Hi,
 
   
  I have defined a column with constraints. When I set the cell value with a string value (for example "1") the cell text is empty. When I set the value with a real integer value the cell text is not empty. In all previous versions this works correct. Now in beta 13.2 it don`t work. Can you fix this to the old behaviour? 
Regards 
Marco 
 | 
 |
| 
   
     
     Product: Xtreme SuitePro (ActiveX) version 13.2.1 
 
   
  Platform: Windows XP Language: Visual Basic 6.0 SP6  | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 19 October 2009 at 11:37am | 
 
| 
   
    
   You don't set cell value with string value - you set cell as combobox item #j - so integer is logical param here - index of your combobox content list:
 
   
      For i = 1 To 6 
   With .Records.Add .DeleteAll For j = 1 To 2 If j = 1 Then '.AddItem CStr(j) .AddItem j Else .AddItem j End If Next j End With Next i  | 
 |
![]()  | 
 |
   
   mlatona  
   
   Senior Member  
   Joined: 19 April 2005 Location: Germany Status: Offline Points: 124  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 19 October 2009 at 12:32pm | 
 
| 
   
    
   I know. But in previous versions, this code works correct. I can not change all code in my projects after install the version 13.2.
    
   
   | 
 |
| 
   
     
     Product: Xtreme SuitePro (ActiveX) version 13.2.1 
 
   
  Platform: Windows XP Language: Visual Basic 6.0 SP6  | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 19 October 2009 at 3:53pm | 
 
| 
   
    
   OK - we restore prev (non-strict) case
    
   
   | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |