Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update Trigger
Message
From
29/05/2001 05:39:45
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
29/05/2001 04:32:44
General information
Forum:
Visual FoxPro
Category:
Contracts, agreements and general business
Title:
Miscellaneous
Thread ID:
00512092
Message ID:
00512108
Views:
10
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform