Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating with local views
Message
De
19/03/2002 18:27:55
 
 
À
19/03/2002 10:24:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00634224
Message ID:
00634710
Vues:
21
>>>Hello all....

>>>What is a proper way to update both parent and child table with one local view? or is this not possible...

>>>Thanks.

>>In general, table maintenance such as this is best done from a trigger. This will ensure that any changes made anywhere (other forms, browse windows, etc.) in your application will always be transferred to to the child table. If you are also updating the parent table from the child table you may, however, run into problems with recursions.

>Yes I've thought about triggers as well, but I want to avoid triggers as much as possible for speed.

A trigger wouldn't be any slower than using a view. I would tend to think, in fact, that it would be faster.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform