Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
1:M:M woes
Message
 
To
23/02/1999 13:53:57
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:
00190590
Views:
13
> 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
Previous
Reply
Map
View

Click here to load this message in the networking platform