>Hi,
>Problem solved,
>
>it should be,
>
>
>
>DateTimePicker.object.value = datetime()
>
>
>
>On the other hand, let say if I key in the date 24/10/2012 directly,
>the cursor cannot auto locate to month position, it need me to press Right Arrow key
>to move the cursor to month position, after that it need me to press Right Arrow key again to
>move the cursor to Year position.
>
>How to skip to press the Right Arrow key, I want to input 24102012 directly.
>
>Please advise.
>
>Thanks.
>Derek
I never worked with that control :-)
So:
DateTimePicker.object.value = DATETIME(2012, 10, 24)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.