Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox problem
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00355920
Message ID:
00355923
Views:
17
Set the Value property of the CheckBox to .F. By default it is set to zero.

>I have a checkbox on page inside pageframe. When the user clicks on checkbox, I should be getting a .T. value. Instead I am getting a value of "1". Here is my code:
>
>insert into employee (checkbx) value (.pf1.p3.chkdrstmt.value)
>
>
>it's giving me an error because checkbx is a logical. Its looking for .T. or .F. and I am returning a value of "1".
>
>.pf1.p3.chkdrstmt.value should have a .T. What Gives??????
>
>
>thanks
>Nick Patel
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform