I have 3 different yes/no checkboxes.
I would like to create a calculated field in my query that looks at all the checkboxes and displays text based on which checkboxes are selected.
Here are my fields
SpecialSS
SpecialDT
SpecialSGT
So if for example SpecialSS is checked off, I would like the calculated field to display "SS"
If SpecialSS and SpecialDT are both checked off, I would like it to display "SS, DT"
This works for 1 field
IIf([SpecialSS]=True,"(SS)","")
How would I incorporate the rest? I tried using or, but the result gave me -1 in the calculated field.
Thank you
I would like to create a calculated field in my query that looks at all the checkboxes and displays text based on which checkboxes are selected.
Here are my fields
SpecialSS
SpecialDT
SpecialSGT
So if for example SpecialSS is checked off, I would like the calculated field to display "SS"
If SpecialSS and SpecialDT are both checked off, I would like it to display "SS, DT"
This works for 1 field
IIf([SpecialSS]=True,"(SS)","")
How would I incorporate the rest? I tried using or, but the result gave me -1 in the calculated field.
Thank you