Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
1:M:M woes
Message
From
24/02/1999 12:45:05
John White
Micro-Oriented Software Techniques, Inc.
Phoenix, Arizona, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00190578
Message ID:
00191030
Views:
51
Hi Doug,

I tried passing the reference and changing my parent bizobj to Thisform.oCallingForm.PhaseObj1

Didn't work. During the REQUERY of the ReviewObj, I get a message about OBIZOBJ not existing.

I am going to try Kevin's suggestion about do not link the bizobjs and do not set a primary bizobj (in PhaseForm) and set the view parameter manually and do a manual REQUERY in the INIT of PhaseForm.

I'll let you know how it turns out.

...John

>
>As Matt suggested, you can use the reference to the calling form.
>
>From the parent form you would do something like:
>
>DoForm("PhaseForm", ThisForm)
>
>Of course, you will have to put code in the init of PhaseForm to accept the parameter. For example:
>
>LPARAMETERS toCallingForm
>
>This.oCallingForm = toCallingForm
>
>Then, in your PhaseObj1.cParentBizObj property place the reference to the ProjectObj1 via the oCallingForm property.
>
>HTH
John White [MOST]
Previous
Reply
Map
View

Click here to load this message in the networking platform