Calendar will not transfer date to text box?

G

Guest

I have a calendar on my form that i want to use to imput data into a text box
but i have not been able to get it to work. They are bound to same control
and i even tryed adding a requery to the calendar update code. I am using
access 2003 i tryed downloading a sample from 2000 but the calendar in that
also did not work. Any i ideas would be helpful. thanks
 
S

Steve

Put the following code in the AfterUpdate event of the calendar:
Me!NameOfYourTextBox = Me!NameOfYourCalendar.Value

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)
 
G

Guest

Thanks that worked!

Steve said:
Put the following code in the AfterUpdate event of the calendar:
Me!NameOfYourTextBox = Me!NameOfYourCalendar.Value

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)
 

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