|
Pete Hall just showed me an easy way to set and use a trigger program. What I have done is set a trigger on the physical file which calls a program that: a) MOVEs the USER field from the System Data Structure to a 10-character field in the record, and b) does TIME to the Z data field, for a date&time stamp. (by the way, this is both date and time.) By doing it this way I should be able to ignore all further dealings with timestamping records in this file, or its logicals, right? This works well excepting the other question I intended to ask tonight: I can set a trigger for insert, change, and delete. Insert does not seem to be the same action as Adding a record? Is "insert" different than "add"? Or am I just not doing it right yet? In <1ee32d5f.35a1a76d@aol.com>, on 07/07/98 at 12:43 AM, Qile@aol.com said: >So my question is which of the following methods is now the preferred >method for populating date/time fields: >a) TIME to a data structure, then *JOBRUN MOVE to date field, >*JOBRUN MOVE to time field >b) TIME DateField > TIME Timefield -- ----------------------------------------------------------- boothm@ibm.net Booth Martin ----------------------------------------------------------- +--- | 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 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.