Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I intentionally bypass triggers?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00460037
Message ID:
00460048
Views:
12
>I'm writing an application where I will be updating my database from an XML message. The tables I am updating have insert and append triggers on them. I don't want to fire these triggers if my particular application is the one updating the tables.
>
>I don't have exclusive database access, so I can't exactly change the trigger to suit my needs.
>
>Any thoughts? Is there a simple command I can run that disables the triggers until I issue another command?

You may be able to declare a variable in your programs:

glDisableTrigger = .T.

and check for that in the trigger code.
Chris McCandless
Red Sky Software
Previous
Reply
Map
View

Click here to load this message in the networking platform