assigning Now() to DTPicker

G

Guest

I have a form with a Tab control.
On the Tab1 I have dtPicker_Date1
On the Tab2 - dtPicker_Date2
On the Tab3 - dtPicker_Date3

On Load Form I have three functions:
Func1:
[Forms]!....dtPicker_Date1.Requery
[Forms]!....dtPicker_Date1.Value = Now() ' - Working good

Func2:
[Forms]!....dtPicker_Date2.Requery
[Forms]!....dtPicker_Date2.Value = Now() ' - Not working good with a mistake

Run-time error '2763'. DTPicker returned the error: An error occured in a
call to the Windows Date and Time Picker control.

The same with Fun3 for the dtPicker_Date3

Could anybody clarify what's wrong there?

Thanks
 
G

Guest

It's not only about Now(). I cannot assign any dates - Date or spesific dates.
The same error message.

Thanks
 

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