Salutations,
I have created a query to look for records which are older than 30 days old. The user input a date into a form, and then it runs a bunch of queries to create tables for various needs. There is one query I am super frustrated with. I am trying to run another query using the same input from one of the form inputs, where it takes the first date "[Forms]![Run Files]![txt Start Date]" and pull everything 30 days and older. I have tried the following:
"between #1/1/14# and [Forms]![Run Files]![txt Start Date]<30" - This pulls everything for the year both before the Start date and the end date.
<="CAMdate" - created a DIM statement as a date in the query to put the date into the VBA code, which show it is 30 days after the start date.
Please help.