Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox value
Message
 
To
22/11/1999 15:56:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00294054
Message ID:
00294071
Views:
25
>>>My problem is, after the first person is entered, the checkbox.value equals .T. or .F., which blows up the code (operand/operator type mismatch).
>>
>>Hi Amanda, try putting .F. in the value of the Checkbox at design time. Does this help?
>
>That worked! Thanks! Do you know why it would switch like that though? I've never had that happen with my other stuff. Just on this form.
>
>Thanks again!

Just to add: I always handle the checkbox value with using EMPTY(myCheckbox.Value) function. This way I don't care if it is numeric or logical.

Nick
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
Next
Reply
Map
View

Click here to load this message in the networking platform