PopUp Calendar by clicking in Date field

G

Guest

Hello.
I really like the calendar form located at http://allenbrowne.com/ser-51.html
I have downloaded it but I need it to work when I click on a date field i.e.
"StartDate". The instructions indicate how to implement it by clicking on a
seperate button. How do I modify the module to make the calendar appear by
clicking on an actual date field in a subform?

Thanks.
Iram/mcp
 
D

Douglas J. Steele

I'd actually recommend putting it on the double-click event of the text box,
otherwise you may get it when you don't really want it. Simply set the
appropriate property of the date field to =CalendarFor([SaleDate], "Select
the sale date")
 

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