Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Joined table update - best practice?
Message
De
05/10/2007 09:19:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
05/10/2007 08:54:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01258868
Message ID:
01258880
Vues:
13
>I am looking for a best-prctice approach to mamy to many table scenarios:
>I have a parent table, an intersection table and a child table
>in a form I show the parent info and in a grid the child info and maybe one or two field from the link table
>I imagine a cursor adapter containing link data and child data would be the BEST way to populate the grid from
>
>now the big question: can I insert a record into the cursor adaptor cursor and have the adaptor automatically add a record into the link table AND the child table \and how must this CA be set up??
>
>Thanks
>
>Peter

I would suspect that the situation is similar than, say, local or remote views. Now, it is fairly problematic to update more than one table with the same view, and I have seen recommendations - and follow them myself - to update only one "main" table per view, and include other fields only as a reference.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform