Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Bug in constraints
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug in constraints

 Post Reply Post Reply
Author
Message
mlatona View Drop Down
Senior Member
Senior Member


Joined: 19 April 2005
Location: Germany
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlatona Quote  Post ReplyReply Direct Link To This Post Topic: Bug in constraints
    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
 
Product: Xtreme SuitePro (ActiveX) version 13.2.1
Platform: Windows XP
Language: Visual Basic 6.0 SP6
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mlatona View Drop Down
Senior Member
Senior Member


Joined: 19 April 2005
Location: Germany
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlatona Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 19 October 2009 at 3:53pm
OK - we restore prev (non-strict) case
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.