Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update Trigger
Message
De
29/05/2001 05:39:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
29/05/2001 04:32:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrats & ententes
Titre:
Divers
Thread ID:
00512092
Message ID:
00512108
Vues:
11
>Hi
>
>I have 2 tables, and if one is updated then it's child table will reflect these changes. However, I only want the child table updated if a certain record exists in another table.
>
>Where should I put my Validation in my Trigger procedure? Any ideas?
>
>Thanks
>Kev

Kevin,
Triggers would occur last + Update trigger would occur only if you call tableupdate (with buffering). You could call a tablerevert() instead of tableupdate() if your check is not satisfied.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform