Hi,
You can use parameters in your query. For example, you could put
<[Enter Date] as criteria in your date field to return all dates prior to the one
entered. If you want to assign the results to a 'variable' you should read up on Recordsets
in help. Also, look up Parameter Queries. Both these topics will give you a basic understanding
of what you're asking for.
--
HTH
Dan Artuso, Access MVP
Thanks for your help.
This is what I am trying to do:
I have a table with a column of dates and wish to extract all rows with
dates before or after a date I specify.
I was hoping to pop up an input box and assign the answer to a variable
which was referenced in the query.
I guess I will have to do an 'on the fly' query then.
Any advice gratefully accepted.
Julie
This is why "MAKE TABLE" works and "SELECT" doesn't. as a
query or use it as the RecordSource for a form displayed
might be able to make some other suggestions. with
an