Paul,
First of all Date Picker does not have a Value property, I believe.
Put the ff code in the Changed event:
LOCAL lcMonth, lcDay, lcYear, ldDate
WITH This
lcMonth = STR( .Month, 2 )
lcDay = STR( .Day, 2 )
lcYear = STR( .Year, 4 )
ldDate = CTOD( lcMonth +"/"+ lcDay +"/"+ lcYear )
ThisForm.Text1.Value = ldDate
ENDWITH
Hope to help,
Dennis
>Hello,
>
>In my Thisform change procedure of OLECONTROL1, I put this codes in but
>always give an error " Property value is not found "
>I can pick the date calendar from Active X control olecontrol1 but never pass to my thisform.Text1.value .
>
>
>local idDate
>idDate = ttod(thisform.olecontrol1.Value)
>store idDate to thisform.Text1.Value
>
>
>Please advise me or correct my codes.
>TIA