based upon selection from a form, I would like to vary the selection criteria in a query. for example
query field expr1,
crieria :
IIF([forms]![frm1]![option1]= true, "<45", "=45"
This doesn't work, any suggestions?
PS I know how to do it building an SQL statement in code, however, it is our corporate policy to use querys as often as possable, makes it easier for others to pick up and understand your work !
Thanks in advance.
query field expr1,
crieria :
IIF([forms]![frm1]![option1]= true, "<45", "=45"
This doesn't work, any suggestions?
PS I know how to do it building an SQL statement in code, however, it is our corporate policy to use querys as often as possable, makes it easier for others to pick up and understand your work !
Thanks in advance.