-
1
- #1
SitesMasstec
Programmer
Hello colleagues!
I have a form with this code in the Init procedure:
Where YDATASAIDA stores a Date (I have confirmed that YDATASAIDA, is a D (Date) VARTYPE, so I am sure its type is Date).
This is the portion on the form to store the date:

It is a ComboBox, and I need it to show the date recorded from another session (using ctl32_DatePicker, from Carlos Alloatti). Of course the user will be able to alter the date.
When running the form an error appears (just for fields storing dates):

What is wrong?
I have a form with this code in the Init procedure:
Code:
WITH thisform
...
.dtSaida.Value=YDATASAIDA
...
Where YDATASAIDA stores a Date (I have confirmed that YDATASAIDA, is a D (Date) VARTYPE, so I am sure its type is Date).
This is the portion on the form to store the date:

It is a ComboBox, and I need it to show the date recorded from another session (using ctl32_DatePicker, from Carlos Alloatti). Of course the user will be able to alter the date.
When running the form an error appears (just for fields storing dates):

What is wrong?