G
Guest
Please help
I am trying to create a report that will use a filter query. when I start
the report, it brings up a form with various boxes for filter criteria. If a
box is not filled in then all the records are still included. Once one or
more boxes are filled in the report is filtered to that criteria. So far so
good. Each record can be associated with up to 3 different products or
tests. So here is the question:
How can I include a record if either product1, product2 or product3 match
"[Forms]![Test Report Files]![ProductID]"?
I also want to include all the records if this form field is null. I have
tried something like:
IIf(IsNull([Forms]![Test Report Files]![productID]),[Product1],[Forms]![Test
Report Files]![ProductID])
Any help would be greatly appreciated.
Thanks in advance, Jack
I am trying to create a report that will use a filter query. when I start
the report, it brings up a form with various boxes for filter criteria. If a
box is not filled in then all the records are still included. Once one or
more boxes are filled in the report is filtered to that criteria. So far so
good. Each record can be associated with up to 3 different products or
tests. So here is the question:
How can I include a record if either product1, product2 or product3 match
"[Forms]![Test Report Files]![ProductID]"?
I also want to include all the records if this form field is null. I have
tried something like:
IIf(IsNull([Forms]![Test Report Files]![productID]),[Product1],[Forms]![Test
Report Files]![ProductID])
Any help would be greatly appreciated.
Thanks in advance, Jack