Calendar Control

J

Jasper Recto

I have a query that prompts the user for the start date and end date
criteria.

I created a form with a button that launches that query.

I would like to insert a 2 calendars on that form that represent the start
and stop date. The user would just click on the dates from each calendar
and then click on the button to lauch the query.

I would like to pass the dates to the query.

How would I do this?

Thanks,
Jasper
 
P

pietlinden

I have a query that prompts the user for the start date and end date
criteria.

I created a form with a button that launches that query.

I would like to insert a 2 calendars on that form that represent the start
and stop date.  The user would just click on the dates from each calendar
and then click on the button to lauch the query.

I would like to pass the dates to the query.

How would I do this?

Thanks,
Jasper

You could use one of Stephen Lebans' calendars...
Then you would do something like

SELECT ...
FROM MyTable
WHERE SomeDate BETWEEN Forms![Form1]![txtStartDate] AND Forms![Form1]!
[txtEndDate]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top