Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
1:M:M woes
Message
 
À
23/02/1999 13:53:57
John White
Micro-Oriented Software Techniques, Inc.
Phoenix, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00190578
Message ID:
00190590
Vues:
14
> 3. PhaseForm contains CListObjEdit and a BizObj (ReviewObj1) that has PhaseObj1 as its Parent, refresh on first activate, calls CListObjEditForm (ReviewForm);

> ProjectForm works just as expected.

> When I open PhaseForm I get an error message about invalid Parent bizobj (PhaseObj1).

John,

It looks like the problem you are having is that PhaseForm doesn't know about PhaseObj1 since it is not on this form. Take a look at the section "Passing A Reference to the Calling Form" in the Mere Mortals Developers Guide. Then in PhaseForm, you could reference PhaseObj1 by using ThisForm.oCallingForm.oPrimaryBizObj.

I am not sure if this will work for automatic requering though. You may have to the requery yourself in the Init of PhaseForm.

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform