Okay, I want to have a parameter that allows me to select "<" or ">"
I have a box on a form so I can pass the info to the report.
Why will this not work??
IIf([Forms]![Reports]![Math]="Less",<Date()-[Forms]![Reports]![ptExpireDays],>Date()-[Forms]![Reports]![ptExpireDays])
so if the use selects Less then do the first function otherwise do the second. Doesn't error at all. Just don't come back with any records.
I have a box on a form so I can pass the info to the report.
Why will this not work??
IIf([Forms]![Reports]![Math]="Less",<Date()-[Forms]![Reports]![ptExpireDays],>Date()-[Forms]![Reports]![ptExpireDays])
so if the use selects Less then do the first function otherwise do the second. Doesn't error at all. Just don't come back with any records.