Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox returns wrong value
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00504937
Message ID:
00504991
Views:
19
>I have a checkbox on my pageframe. My checkbox returns contains a value of 0 and 1 instead of logical value .f. or .t. Does anyone know how I can get it to contain .t. or .f.. When I do INSERT - SQL I get data mismatch. Thanks
>
>Nick Patel

In addition to others:
you may do your insert not with mycheckbox.value directly, but with
!EMPTY(mycheckbox.value), this way you don't care what type of mycheckbox.value is.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform