View Full Version : calendar control on form


lamha
06-24-2000, 07:38 AM
I have a calendar control on the main form. What I would like it to do is when I click a date on the calendar, the date should go into the text box Workday in the subform. Does anyone khow how to do this? I would appreciate any help.

Databyte
06-24-2000, 03:43 PM
On Click Event of the calendar
Subformname!textbox.value=Calender1.value

lamha
06-26-2000, 04:56 AM
Thanks, but there is no Click event for the calendar. I try your command in AfterUpdate instead, but it didn't work.

KevinM
06-26-2000, 08:38 AM
Put the above code on the OnClick event of a command button on the form.

lamha
06-26-2000, 11:32 AM
I use Calendar Control 8.0. How can I make it work? Is there other Calendar control that is easier to use?