Damn that Datepicker!!

Ceejay64

Bass Playin' Biker Chick
Local time
Today, 17:53
Joined
Oct 2, 2002
Messages
74
Hey all,
OK - long story short: Complex form with several datepickers. All set to a custom format to show date AND time (MM/dd/yy hh:mm tt), drop the selection in a bound textbox and disappear when no longer needed, after which the locked textbox which was hidden beneath the datepicker displays. So far, so good... :)

When adding to this form, an employee can scroll through the records for a particular serial number (of a part) so that they can add to the proper record. The problem I am having is that as someone scrolls through, different records may or may not have a datepicker entry in that section, so the controls come and go with the scrolls, and when they reappear after being "gone," they no longer hold the custom format and the time part disappears, making them essentially useless because we have to have both parts for some date-time calculations later that often cross the 24-hr period.

Question: Why am I losing the custom format and what can I do to fix it? All of my properties settings look correct, both on the control and on the form.

Thanks in advance!
Ceejay
 
How about...

Is there a way I can just put a button on to "refresh" (if you will...) the datepicker control? I'm hoping that it will reload with the custom format as it does when I originally open the form in the first place.
Think it would work??
Thanks
 

Users who are viewing this thread

Back
Top Bottom