I'm trying to use this if-statement in a query:
It doesn't work, though. I can do >59<120 in the criteria box and it will work, but if i put it in this if statement format then it doesn't return any records. Anyone have a hint as to what might be the problem?
Thanks!
G
Code:
=IIf([Forms]![frmReportCollateral]![cbAge]="60-119",>59<120,"")
It doesn't work, though. I can do >59<120 in the criteria box and it will work, but if i put it in this if statement format then it doesn't return any records. Anyone have a hint as to what might be the problem?
Thanks!
G