How to check if a option button was not selected

P

pokdbz

What do you have to check it against to see if an option button was not
selected. Here is what I had but am getting an error.

ElseIf (Me.Option4.Value = -1 And Me.Option6.Value = -1) Then
...
End If
 
J

Jackie L

What is your error? You may be having a problem with null values. You can put
Nz([Option4])=-1 then...

You do not need the .Value on your if statement.
 
Top