Advisedwolf
Instructor
Hi,
Am trying to write an If statement in a text box on a report.
If a field matches a certain criteria, then count the records.
I could easily do this in a query, but for other reasons, I would prefer to get this to work in the report itself.
My expression doesn't work, as it always displays a count of all the records, its not picking up only the open or re-opened records .. can someone assist me here please
the expression is:
=IIf([STATUS OF RETURN IN PURCHASING]="OPEN" or "re-opened",(Count([INVOICE NUMBER])))
Can anyone see what I have wrong is this please
Thanks
Am trying to write an If statement in a text box on a report.
If a field matches a certain criteria, then count the records.
I could easily do this in a query, but for other reasons, I would prefer to get this to work in the report itself.
My expression doesn't work, as it always displays a count of all the records, its not picking up only the open or re-opened records .. can someone assist me here please
the expression is:
=IIf([STATUS OF RETURN IN PURCHASING]="OPEN" or "re-opened",(Count([INVOICE NUMBER])))
Can anyone see what I have wrong is this please
Thanks