Option Group Values selection

cherosoullis

Registered User.
Local time
Today, 03:20
Joined
Jun 23, 2006
Messages
47
I have created an option group with two buttons (New, Used). In another text box I used a formula taking values true or false on option group. The formula is not working. It goes like this.

=IIf([radNew],[/U][/B]Null,IIf([radUsed],[/B]IIf([txtAgeofCar]<184,[txtExciseinTotal]=Null............
 
Option groups assign values to each radio button... look at the property menu 'data' tab to see the 'option value' for each option. In your scenario assuming NEW is value 1 and USED is value 2

Code:
=IIf(Me.optGroupName=1,Do Something, Do Something Else)

hope that helps,

Scott
 
Last edited:
This realy work

Thanks very much for your responce
 

Users who are viewing this thread

Back
Top Bottom