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



Here's what turned on the light bulb for me: Your trigger program will NOT
have any F-specs. 
 
You do not open the file, chain to it, or any other such act. All you care
about is the before and after image in the buffer. 
 
 
---------------------------------------------------------
Booth Martin http://www.MartinVT.com
Booth@xxxxxxxxxxxx
---------------------------------------------------------
 
-------Original Message-------
 
From: RPG programming on the AS400 / iSeries
Date: Monday, September 22, 2003 2:00:10 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Trigger question
 
But if the record has not been written yet, how can I chain to update the
record?
 
Eric
----- Original Message -----
From: "Carlos Kozuszko" <tidesarrollo@xxxxxxxxxxxxxxxxxxxxxx>
To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx>
Sent: Monday, September 22, 2003 6:39 AM
Subject: RE: Trigger question
 
 
> ADDPFTRG ... ALWREPCHG(*YES)
>
>
> > -----Mensaje original-----
> > De: rpg400-l-bounces@xxxxxxxxxxxx
> > [mailto:rpg400-l-bounces@xxxxxxxxxxxx]En nombre de Eric A. Wolf
> > Enviado el: lunes, 22 de septiembre de 2003 20:27
> > Para: rpg400-l@xxxxxxxxxxxx
> > Asunto: Trigger question
> >
> >
> > To the list,
> > I know I just saw this question answered but could not find
> > it in the archives...
> >
> > I am firing a trigger during an *INSERT / *BEFORE so I can
> > update a field in the record being added. How do I get the
> > field filled in before the record is written? I have two
> > datastructures defining the before/after images.
> >
> > TIA...
> > Eric A. Wolf


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.