>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
Paul,
Both VFP and datetimepicker activex have 'VALUE' as a property name and that causes the error. Use OBJECT to signify you mean ActiveX's value:
thisform.Text1.Value = thisform.olecontrol1.object.Value
Cetin