>
>Cetin,
>I forgot to inform you but I had updated the path to my acutal path.
>Could it be that there is no DatetimeCheck in my Datetimectrls,vcx?
>Regards,
>Koen
Nope, do you want to check with team viewer?
If so send the ID :)
Or do it like this:
1) Create a test form.
2) Drop 3 "dtControl" from datetimectrls.vcx on tp your form and set their names (dateTimeCheck, dateCheck and timeCheck), controltype property to 1,2,3 respectively.
3) Add a command button with click code:
Local lcValues
TEXT to lcValues textmerge noshow
Type: [<< Type('thisform.dateTimeCheck.Value') >>] Value : [<< thisform.dateTimeCheck.Value >>]
Type: [<< Type('thisform.dateCheck.Value') >>] Value : [<< thisform.dateCheck.Value >>]
Type: [<< Type('thisform.timeCheck.Value') >>] Value : [<< thisform.timeCheck.Value >>]
ENDTEXT
Messagebox(m.lcValues)
4) Run your form.
This is what the code does programmatically.