date and time picker control error

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
 
A

Alex Dybenko

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
 
F

fredloh

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
 

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