Insert Date From Calendar

mercwonder

Registered User.
Local time
Today, 05:12
Joined
Dec 20, 2005
Messages
18
I have a form that has a date field. I have a button next to that field that opens another form that I've placed a calendar on. Is there a way to click on a date in the calendar and have it automatically insert the date into the date field on the previous form?
 
Thank you very much.. That will work
 
Calendar Control

Hi,

Just used the sample from the link provided.

It sorts of work. The calendar opens, select the date and it appears in the correct field, BUT it doesnt save the date. It keeps on defaulting to todays date.

Any suggestions appreciated :)
 
It seems to me that link has a half dozen links in it. Which one did you use?
 
The sample you pointed to defaults the date of the TextBox to yesterday. Did you do the same? Is your Date control bound to a field in a table?
 
Are you changing anything else on the record or just the date? How do you default the date? Can you post your db with any sensitive data removed that demonstrates the problem?
 
Calendar Control

Check the event date field.

Also, when it adds the date, it adds that date for all the records :confused:
 

Attachments

The Event Date control in an unbound control! It has no ControlSource.
 
I thought I had it in there, but hey, looking too long at something makes the mind see things thats not there.

It works fine. Much appreciated for your help :)
 
A fresh pair of eyes looking at it is always a good thing. Glad I could help.
 

Users who are viewing this thread

Back
Top Bottom