× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Have you written a trigger program, or read the documentation on trigger
programs?

Think about this. You say perhaps you just want file name and keys. When
you declare a program as a trigger program it automatically receives
certain parameters when the trigger is activated. Among them are the
table name, a before image and an after image. An externally defined data
structure does a fine job of mapping the before image and the after image.
The trick is using one program to figure out the keys for 20 different
files. Do they have the same layout? I don't use a mediator. I do not
believe a mediator would simplify this. I do think that if you are early
on in the process it may help you implement new versions of the trigger
program until you iron out the bugs. A mediator basically would read the
table and say if I am monitoring this table then use this program to
process it and pass all the parameters again. You still have to determine
what columns are the keys for that table and where to record that.

That is if you want to process the data later. After all, you already
have the data that was changed. You could use the trigger program to just
output the 'after' image to a table. Imagine this layout:
- Table
- Timestamp
- Add/Change/Delete
- 'After' image

The problem with that is how do you sort that by Table, 'keys' and then
timestamp descending (to find the last update to a particular key).



Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.