I still don't get what [ARCHIVE]![CURRENT ACC DE] is.
Whether its a number of days or a number of months or something else?
From the way you phrase your response I guess it dosn't really matter now.
You want to replace the Date() part of the criteria, so here are a couple of ideas.
You could have a form that has a textbox that the user types the date of interest into and then runs the query by clicking a button on that form
-
Min(Forms!YourForm.NameOfTheTextbox-[ARCHIVE]![CURRENT ACC DE])
-
Max(Forms!YourForm.NameOfTheTextbox-[ARCHIVE]![CURRENT ACC DE])
-
Avg(Forms!YourForm.NameOfTheTextbox-[ARCHIVE]![CURRENT ACC DE])
-
or you could reference a non existing field and the query will ask the person running the query for its value.
-
Min([Please Enter The Date]-[ARCHIVE]![CURRENT ACC DE])
-
Max([Please Enter The Date]-[ARCHIVE]![CURRENT ACC DE])
-
Avg([Please Enter The Date]-[ARCHIVE]![CURRENT ACC DE])
-
When the query is executed an input box will appear with the message
Please Enter The Date
and an input box below the message.
Or am I on the wrong track