General information
Category:
Coding, syntax & commands
Title:
Checkbox missbehaving......
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only