I am using Access 2000.
I am trying to print a report of the last 24 hours of reports. This will be printed twice a day and needs to include the last 24 hours of reports. There could be one or several.
I created a report that included the information, then I decided that a query would be better. I was able to use the criteria Date() to get todays records, but this won't work for the AM as it will only include since midnight. How do I set the criteria to limit only for the last 24 hours? I have tried Date()-1 but that only shows the day before.
I was going to use a filter, but not sure how to get a date range?
Any ideas?
Dennis
I am trying to print a report of the last 24 hours of reports. This will be printed twice a day and needs to include the last 24 hours of reports. There could be one or several.
I created a report that included the information, then I decided that a query would be better. I was able to use the criteria Date() to get todays records, but this won't work for the AM as it will only include since midnight. How do I set the criteria to limit only for the last 24 hours? I have tried Date()-1 but that only shows the day before.
I was going to use a filter, but not sure how to get a date range?
Any ideas?
Dennis