Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parent/Child views - newbie Q
Message
 
À
02/09/1997 19:23:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00048152
Message ID:
00048226
Vues:
18
>Newbie question alert ;-)
>
>I am trying to create a simple parent/child relationship on a data-entry form.
>Copying the OrderEntry form of the Tastrade example I was able to do this with my tables. However, I cant figure out how to do this with views of the tables (I was advised that I should use use views throughout to facilitate later upscaling the database to a server).
>
>Should I be using a view of the parent table AND a view of the child table in the dataenvironment, or should I be using one view of the two tables combined??? Since views dont have indexes like tables, how do I specify the relationship between the parent/child views???
>
>I've tried both approaches with no success - the fields of the parent view appear, but no child records are displayed and I cant add another :-(
>
>What should I put in the 'Linkmaster', 'childorder', etc methods of the child grid???
>
>Any suggestions/guidance welcome
>
>Martin

Just a quick note Martin, you can index a view. Create the view and use the INDEX command.

Steve
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform