Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing Objects (VFP6.0)
Message
From
07/08/2003 07:06:30
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00816763
Message ID:
00817603
Views:
20
Hi Viv

This was doing my head in so much I just opted for the Access/Assign methods in the BizObj property of the container which will assign/request using the Form object directly, rather than holding an additional reference, all works ok now.

Thanks
Kev

>Hi Kevin,
>
>>
>You're slightly incorrect on the detail, it's:
>
>
>thisform.BizObj = CREATEOBJECT("BizObjClass")
>Container.ObjRef = thisForm.BizObj
>Container.ObjRef.Address = CREATEOBJECT("Address")
>
>Which should work IMO...
>>
>
>I agree. But if, as some future point, Container.Objref.Address is a valid reference but thisform.BizObj.Address is not then, ipso facto, Container.ObjRef and thisform.BizObj are not referencing the same object. I thing Sergey suggested that you test this. What was the result ?
>Regards,
>Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform