Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CheckBox return value
Message
From
21/07/2002 14:30:17
 
 
To
21/07/2002 13:24:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00680894
Message ID:
00680907
Views:
18
Hi Jim,
The value of the checkbox itself will be 0 (not checked) or 1 (checked). When its control source is a logical field in the table, the checkbox will still hold a value of 0 or 1, but when the data is saved to the table, it will be converted to 0->false and 1->true.

Hope that helps.

Tracy

>Hi all,
>
>I don’t use checkboxes often but I have a need to for an entry form. A person is going to visit a house and determine if there is a dog there. If no one is home there are a set of check-offs to go through. Depending on what gets checked other checkboxes become enabled.
>
>My problem; last night the value the boxes returned was logical. I coded for that. This morning I ran the form again and the checkboxes are returning a numeric. The initial value of the checkboxes has been 0 all along. What am I doing wrong?
>
>Thanks!!
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform