Benji
05-30-2001, 09:41 AM
Hello all and thanks in advance for any ideas/answers you can provide. I have verified this on 2 different computers both running Access 2000 and different operating systems.
BACKGROUND: I am very familiar with the date time picker and use it often. I am working on a project where it is necessary to put the date time picker on a tab page.
- If I put the d/t picker on the first tab page (tab index = 0) and send a date value, it works fine.
- If I put the d/t picker on any of the following tabs (tab index > 0) and send a date value I get run time error 2763: "DTPicker returned the error: An error occured in the call to the Windows Date and Time Picker control.."
This seems very odd, but is easy to reproduce, just create a form add a 2 page tab control, put a d/t picker object on page both pages of the tab control & send both a value "01/01/99" (or anything) in the OnLoad event of the form.
The d/t picker on the first page will get it's value the 2nd should give you this error.
Again, thanks for any assistance you can offer!
BACKGROUND: I am very familiar with the date time picker and use it often. I am working on a project where it is necessary to put the date time picker on a tab page.
- If I put the d/t picker on the first tab page (tab index = 0) and send a date value, it works fine.
- If I put the d/t picker on any of the following tabs (tab index > 0) and send a date value I get run time error 2763: "DTPicker returned the error: An error occured in the call to the Windows Date and Time Picker control.."
This seems very odd, but is easy to reproduce, just create a form add a 2 page tab control, put a d/t picker object on page both pages of the tab control & send both a value "01/01/99" (or anything) in the OnLoad event of the form.
The d/t picker on the first page will get it's value the 2nd should give you this error.
Again, thanks for any assistance you can offer!