• Subject: Re: triggered file list problem
  • From: "Nelson C. Smith" <ncsmith@xxxxxxxx>
  • Date: Fri, 29 Oct 1999 16:47:12 -0400

Oh, I agree with that.  The way I use that library name to protect against
mishaps is by keeping all my trigger functions in procedures in service
programs.  A trigger control file specifies the procedure and service
program to be called for each Libr/Filename combination.  So if a trigger is
fired from a file in a library from which it was not originally intended, it
will find no entry in the control file and just end harmlessly.  The control
file also makes it very easy to turn valid triggers on and off externally
without having to get an exclusive lock on the triggering file.

>But that is partly why I said you could/should examine the library
>name passed in the trigger buffer if you are accessing other objects.
>Triggers are a wonderful addition to our arsenal of methods.

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.