|
Add to that trigger the writing of an audit record to an audit file with the same key, plus the descending timestamp and you have a complete little "automatic" system that will get you out of any jam. -----Original Message----- From: Rob Berendt <rob@dekko.com> To: RPG400-L@midrange.com <RPG400-L@midrange.com> Date: Thursday, August 19, 1999 10:22 AM Subject: Re: Timestamp when a record is updated... >Use a trigger program. They aren't all that hard. I use one just to do >this same thing. It also records the user who made the change. This way >it catches it no matter how they update the file: my custom green screen >ap, UPDDTA, PC program, etc. > > > > > >jocke@fsys.se on 08/19/99 05:00:47 AM >Please respond to RPG400-L@midrange.com@Internet >To: RPG400-L@midrange.com@Internet >cc: >Fax to: >Subject: Timestamp when a record is updated... > >Is there any feature in the database that automaticly sets a >timestamp value whenever a record is updated or added ? > >Else we must include z-add timestamp before every updat/write >in all our porgrams :( > > > > >+--- >| This is the RPG/400 Mailing List! >| To submit a new message, send your mail to RPG400-L@midrange.com. >| To subscribe to this list send email to RPG400-L-SUB@midrange.com. >| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. >| Questions should be directed to the list owner/operator: david@midrange.com >+--- > > >+--- >| This is the RPG/400 Mailing List! >| To submit a new message, send your mail to RPG400-L@midrange.com. >| To subscribe to this list send email to RPG400-L-SUB@midrange.com. >| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. >| Questions should be directed to the list owner/operator: david@midrange.com >+--- > +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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 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.