Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trigger Failed using DELETE-SQL
Message
 
 
To
20/02/2001 06:43:45
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00477549
Message ID:
00477715
Views:
13
>Hi,
> I am having trigger to retrict user from deleting parent records if it's child records exist in table. I found that, VFP will generate run time error if I delete the parent record using DELETE-SQL even I use TABLE BUFFERING -5 for the these tables.
>
>Why?
>
>Thank you

If tables are buffered, triggers shouldn't fire until you issue a tableupdate(). Are you sure of the buffering of these tables? How are you setting the buffering? In the DE or programmatically?

BTW, what's the error? If it's Trigger Failed (Error 1539) that's what's supposed to happen. If its anything else, you have another problem.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform