I'm getting a little confused about triggers, and would appreciate a little
help.

I have written and activated a program to my test file as *AFTER *INSERT and
*AFTER *UPDATE and *AFTER DELETE.

To test I am using DFU ( no comments please!!) to change data.

when I add a record, the trigger fires and my program writes a record to a
log file showing *after *insert.

when I change a record, the trigger fires and my program writes a record to
a log file showing *after *update

when I delete a record, the trigger fires and my program writes a record to
a log file showing *after *delete

-- all ok so far, no my problem

when I change the "key" of a record, the trigger fires TWICE, and my program
writes TWO records to a log file showing *after *update ?????

WHY?

Thanks,

/dick


rhenley@xxxxxxxxxxxxxxxx

Richard Henley

rhenley@xxxxxxxxxxxxxxxx

Richard Henley, Programmer
256.532.3603

ITS - Room 619
Madison County Commission
100 North Side Square
Huntsville, Alabama  35801




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2024 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.