date and time picker control error

  • Thread starter Thread starter fredloh
  • Start date Start date
F

fredloh

i have a tab control on my form. i then have several microsoft date
and time picker control on the tab control. when i select a date on
any of the date and time picker control, the result of the control's
value is always 12:00:00 am instead of the date i selected even though
the date displays correctly on the date and time picker control. the
controls are unbound.

why is this?

i also have another identical form where the date and time picker
controls are bound. when i use the navigation buttons to move between
records on this form, the error message "An error occurred in a call
to the Windows Date and Time Picker control" pops up several times,

why is this?

i have another application with also a tab control and several date
and time control (although lesser) in the tab control and it works
fine.

is there a limit to the number of date and time control on a form? my
vba code is also quite long. could this be the problem?

TIA
 
Hi,
I think the problem with combination of tab control and activex control on
its tab, this is a known bug, you need to delete all activex controls from
tab page, and insert them directly on a form, "above tab control", then make
activex controls visible/hidden depending on selected page

--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
 
thanks

Hi,
I think the problem with combination of tab control and activex control on
its tab, this is a known bug, you need to delete all activex controls from
tab page, and insert them directly on a form, "above tab control", then make
activex controls visible/hidden depending on selected page
 
Back
Top