Link to home
Start Free TrialLog in
Avatar of Sandra Smith
Sandra SmithFlag for United States of America

asked on

What value is passed when an option radio button is selected?

I have a form with two radio buttons, one for Date Received and the other for Date Updated.  This is on an unbound form and the selection determines the filter on an underlying query for another form.  However, when a radio button is slected, what is the value that is passed?  I tried 1, Yes, True, but nothing seems to register.
If Me.optDateReceived = 1 Then
  Do Something
End If
 
If Me.optDateUpdated = 2 Then
  Do SOmetihng
End If

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
-1 = True
0 = False
Avatar of Sandra Smith

ASKER

I had a group, not just one so I think that is where I went wrong.