Print Page | Close Window

Bug in constraints

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=15392
Printed Date: 15 November 2024 at 7:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bug in constraints
Posted By: mlatona
Subject: Bug in constraints
Date Posted: 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
 
http://forum.codejock.com/uploads/20091019_041953_Test.zip - uploads/20091019_041953_Test.zip


-------------
Product: Xtreme SuitePro (ActiveX) version 13.2.1
Platform: Windows XP
Language: Visual Basic 6.0 SP6



Replies:
Posted By: mdoubson
Date 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


-------------
Mark Doubson, Ph.D.


Posted By: mlatona
Date 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


Posted By: mdoubson
Date Posted: 19 October 2009 at 3:53pm
OK - we restore prev (non-strict) case

-------------
Mark Doubson, Ph.D.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net