Calendar update

P

Peter Grad

I'm creating a simple form that includes a calendar control and a date
field. I can link the calendar to the date field, but the date field does
not update until after I create a new record and then return to the first
record.
How can I get the date field to update instantly when I click on the
calendar control?
 
A

Allen Browne

You have a text box, bound to a date/time field, updated via a calendar
control.

If the record does not show the new date until it is saved, my guess is that
the text box has a different name than the field it is bound to, and the
calendar is updating the *field*, not the text box. You could solve that by
changing the name that the calendar updates to the name of the text box
rather than the name of the field, or rename the text box so it has the same
name as the field.
 
G

Guest

Allen
Thank you for your helpful response. I will check it out and let you know
how I did.
Peter
 

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