Your calendar named MyCalendar is on a form we will call PFrmMyCalendar. Add
a textbox named MyDate to the form and set its visible property to false.
Put the following code in the calendar's AfterUpdate event:
Me!MyDate = Me!MyCalendar.Value
Put the following expression in the criteria of the date field in your
query:
Forms!PFrmMyCalendar!MyDate
You now need to put this all together in however you have your system set up
so that you open the calendar form, select the date then run the query.
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.