Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox missbehaving......
Message
 
To
22/01/2003 13:49:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00744385
Message ID:
00744394
Views:
8
Make sure you are not at EOF

Einar

>Greetings to all,
>I have been having a problem with a checkbox not returning the correct value. When checking if a logical field is either true or false, it seems that the value allways returned is .f.
>
>I have several checkboxes using a logical field with no problem. The code where I am checking for a true or false is in a Command Button. Is that a problem? I am using the following code.
>
>First a table calles sysvars has a field called Single_Screen
>
>Then I check to see if it is true or false:
>SELECT sysvars
>IF sysvars.Single_Screen note: I also tried IF (sysvars.Single_Screen = .T.)
>.
>.
>.
>ELSE
>.
>.
>.
>ENDIF
>No matter what it seems that all I get is a false condition. Can anyone lead me in the right direction? Thanks in advance for your help.
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform