× 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.


  • Subject: Triggers
  • From: "Joe Teff" <jteff19@xxxxxxx>
  • Date: Mon, 23 Feb 1998 22:06:56 -0600

If I want to update some information in the same record that caused by trigger 
to fire, I would:

   1. Before Add and Before Update - place the new data into the appropriate 
position of the
       "new record" image in the buffer and RETURN.

   2. After Add and After Update - chain out to the record, change to data in 
the field, update the
       record and RETURN.

The difference being is that on the Before action, I make the update by 
changing the image in the
ENTRY parameter and on the After action, I change the record itself. Is this 
correct or do I not
understand what I am reading?

This is a V3R2 system and the parameter on the ADDPFTRG says to allow 
repetitive changes.

Joe Teff
QDS
Bloomington, MN
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@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-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.