Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parent Child on Page Frames
Message
 
À
19/06/1999 16:35:17
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00231810
Message ID:
00232236
Vues:
17
Tom,

>Hi and Help - I am new to the MM framework. I have a master demographic table that resides on 3 of 4 page frames. The 4th page frame is a child showing contributions. There is one child record for each master record. I have tried a number of combinations and have been unsuccesful in getting the child to display on page 4. I am getting an Invalid control source for the page 4 controls. I am using 2 different business objects. I have tried both on the form. I have tried the business objects on their corresponding page frames. Usually I get an alias not found. The example isn't real clear and I am not sure what I am doing wrong.>

If you're getting an invalid controlsource error it means one of a few things:

1. Your view is not getting loaded into the form's data session at all
2. Your view is not getting loaded until *after* the UI controls instantiate
3. There's a typo in the UI controlSource properties

Here's a few things to try:

1. Go to page 4, select the business object, then from the "Format" menu, select "Send to Back". This ensures that your business object instantiates and loads its data before the UI controls instantiate.

2. Verify your ControlSource values

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform