OLE. ActiveX Control. Calendar Value

A

Ayo

I am trying to put the value of the calendar form in a txtBox on a form. I
have a txtBox with a button next to it. When I click on the button, it opens
the Calendar form.
The Calendar form as 3 buttons, a Cancel, Exit and Ok buttons. When I click
on the Ok button, I want the value of the Calendar to go in the txtBox on the
form and I want the Calendar form to close.
I can't figure out how to do this. The Cancel and Exit button works fine. I
just don't know how to pass the value of the Calender to the txtBox.
Any help will be greatly appreciated. Thank you.
Ayo
 
A

Ayo

Thanks Wayne. Just one question, how will this affect manual inputs into the
txtBox itself?

Wayne-I-M said:
Set the control source of the text box like this

=[CalendarName]


--
Wayne
Manchester, England.



Ayo said:
I am trying to put the value of the calendar form in a txtBox on a form. I
have a txtBox with a button next to it. When I click on the button, it opens
the Calendar form.
The Calendar form as 3 buttons, a Cancel, Exit and Ok buttons. When I click
on the Ok button, I want the value of the Calendar to go in the txtBox on the
form and I want the Calendar form to close.
I can't figure out how to do this. The Cancel and Exit button works fine. I
just don't know how to pass the value of the Calender to the txtBox.
Any help will be greatly appreciated. Thank you.
Ayo
 

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