Dates Query

§wééT V

§wééT V
Local time
Today, 07:09
Joined
Oct 20, 2004
Messages
8
Basically i'm creating a stock database but i want the user to view all the stock bought between certain dates which they can select how would i go about doing this
 
If you have a date field run this in the criteria

Between #1/1/04# and #1/1/05# <--- Example ( you can use any date you wish)

hth,

Michael
 
Search the archive for some of my calendar examples.
 
Ukraine82 said:
If you have a date field run this in the criteria

Between #1/1/04# and #1/1/05# <--- Example ( you can use any date you wish)

hth,

Michael

yep i know how to do that bit but i want the user to be able to select any dates s/he wants
 
Here's one.

And you refer, in the query, to the form.

i.e.

Between [Forms]![MyForm]![txtStartDate] And [Forms]![MyForm]![txtEndDate]
 

Users who are viewing this thread

Back
Top Bottom