If you're talking about using something in a ControlSource, RecordSource or
RowSource, then you can use IIF(), Choose(), or Switch(). If you're talking
about using it in VBA, you can use either IIF(), Choose(), Switch(), or the
If..End If construct, or the Select Case...End Select construct.
Regards,
Graham R Seach
Microsoft Access MVP
Canberra, Australia