I am trying to display 3 seperate 1 month calendars using the built in Calendar Control in Access 2000. I want one to display last month, with no date selected, the other to display this month with today's date selected, and the last to display next month with no date selected. I noticed that there are Previous Month functions etc., but I cannot seem to get them to work. Please help.
Where can I specify these functions? I have tried to goto the Form's on open event, then I have specified something like "calendar01.value=Now()". That didn't work. Any help would be appreciated. I apparently don't know how to code these calendars. A sample to be used on a form's open event would also be helpful. Thanks again.
Originally posted by machado
YOu need to enter the code in the Load event of the form. This will set the value of the calender control before the control is loaded.
I attached an example look at form1's code
Your example helped me a great deal, thanks. I have an additional question... Is there any way I can simply have the calendar show the (current) month without having the day highlighted?