-
data type question
what is the data/return types for an option button? I thought it was 1 for clicked, and - for unclicked, appears that I am mistaken. I am attempting to write an if based on wether or not it is checked, and cannot get either option to work.
Can anyone help me out?
Brandon
-
Private Sub Command4_Click()
MsgBox IsNumeric(Me!Option0)
MsgBox Me!Option0
MsgBox IsNumeric(Me!Option2)
MsgBox Me!Option2
end sub
'Option0 is checked
'Option2 is unchecked
'display values
True
-1
True
0
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|