Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form skips through each child record first, then only pa
Message
 
À
24/11/1997 14:23:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00061984
Message ID:
00061996
Vues:
39
>>Hi
>>
>>I have a test form with a Parent and a Child table, related, and in the DE. I have use the wisztyle.vcx navigation buttons. I have set the parent table to the initial selected alias. I have a pageframe with fields from the parent table on page1, and a grid from the child table on page2. When I run the form, and click "next" repeatedly, the form skips through each record in the child table first, before it skips across to the next parent record.
>>How do I get the form to skip through each PARENT record, instead of each CHILD record (and still show all the corresponding child records in the grid)?
>
>You could try DE.Relation.OneToMany=.F.
>However, I wouldn't recommend you to make tests using wizstyle navigation and/or temp relationships at all. Actually, you will get none experience and tons of headaches.

I have now managed to get it to work correctly. I went and created a new database table, and added these two tables to it, ensuring the one to many relationship, and this seems to have solved the problem. I think before, these two tables were only related one to one, instead of one to many.
David Wheeldon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform