G
Guest
Thanks for taking the time to read my question.
I have a query that drives my report. This query returns data base on a
criteria. The Criteria needs to change based on the ProductCode. If the
ProductCode is "Flush" then I don't want any criteria (All Flush records are
returned), but if the ProductCode is anything else, then use the Criteria.
Here is what I have, but it is not working.
Thanks again for your help,
Brad
iif( [tblFeedRecords]![ProductCode] <>"Flush",Between
[Forms]![frmRPTGenerator]![StartDate] And
[Forms]![frmRPTGenerator]![EndDate],Like"*")
I have a query that drives my report. This query returns data base on a
criteria. The Criteria needs to change based on the ProductCode. If the
ProductCode is "Flush" then I don't want any criteria (All Flush records are
returned), but if the ProductCode is anything else, then use the Criteria.
Here is what I have, but it is not working.
Thanks again for your help,
Brad
iif( [tblFeedRecords]![ProductCode] <>"Flush",Between
[Forms]![frmRPTGenerator]![StartDate] And
[Forms]![frmRPTGenerator]![EndDate],Like"*")