I am trying to set up a report to run overnight that is based on the following formula.
({Del_Date} >= (prompt date 1) and
{Del_Date} <= (prompt date 2)) or
({customer} = "XXX" and {Del_Date}<= (prompt date 3))
These are actually the same dates every month. First prompt date is before time began (defaults is 1/1/14). The second prompt date is the 11th of the following month (so for January the prompt date would be 2/11 and for Feb it would be 3/11, etc.). Prompt 3 would be for the last day of the next month (so for Jan. the prompt date would be 2/29, etc.)
the question is, how can I put this into terms that will not require a prompt or the system to run a qry before the report runs?