>>Is there simple way to clone object in VFP
>>
>>For example
>>SCATTER NAME loData
>>loData.ID = 1
>>Clone loData to loDataNew
>>loDataNew.ID = 2
>>and changes in loDataNew property do not change loData property value
>>
>>Thanks
>>Denis
>
>No.
>
>
>* COPY
>FOR K=1 TO AMEMBERS(aProp,m.loData)
> ADDPROP(m.loDataNew,GETPEM(m.loData,aProp[m.k]))
>NEXT
>
Thanks Fabio,
Yes.. same as my code... I just thought maybe exist special vfp functions for that ;))