calendar form

V

Vivek Sharma

Hi There,

In my application I have a calendar form. Currently, I am using it on
mutiple forms with the help of a button. It is a pain populating text boxes
on various forms as I have to keep trace which form I came from and hence
populate the field on that form.

Is there a better way of populating the text boxes?

Thanks
 
A

Arvin Meyer

Have a look at the form and code in my calendar form.

http://www.datastrat.com/Download/Calendar2K.zip

You can just import it into your application and type:

=popCalendar()

in the double-click event of any text box. When you click on a date on the
calendar, it then puts that date in the text box that called it. The process
is simple enough that you can select all the date field controls in the
form's design view and type the above just once to set all their
double-click properties.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
Top