I have 5 option groups in my Demographics part of the database in which I want to display the choices selected, in “text” format in a report. I have trouble writing my query to display the text. From the tblMain Data Table, [Gender] has the three choices: 1 Male, 2 Female and 3 Left Blank (3 is the default). For the first option group, with the query below, the results display “#Error”. My question would be, how can I use the numeric values of the option group in text format? Thank you for any suggestions.
GMFLB: IIf([Gender]=1,"Male",IIf([Gender]=2,"Female",IIf([Gender]=3,"Left Blank",0)))
GMFLB: IIf([Gender]=1,"Male",IIf([Gender]=2,"Female",IIf([Gender]=3,"Left Blank",0)))