New record trigger

Kenneth Brody kenbrody at spamcop.net
Fri Mar 20 14:27:16 PDT 2015


On 3/20/2015 5:06 PM, Richard Kreiss wrote:
>> From: Kenneth Brody [mailto:kenbrody at spamcop.net]
[...]
>>> Is not the record written at that point and the processing moved to
>>> the top of the table?
>>
>> No.  When you press SAVE, input processing runs/continues.  The record
>> is not written/created until you execute a WRITE, or input processing
>> ends.
>>
>> Consider, for example, the case where input processing verifies the
>> data, and refuses to save the record with invalid data.  Or where input
>> processing brings up additional screens which need to be filled in
>> before the record can be saved.
>
> OK, tested this and have one question,  When the record is "saved" and
> the ending processing is completed, processing usually ends in and <end>.
> At this point, the record is saved and filepro ends and exits the
> processing table.  Would there be a way to capture the exit code?  Or if
> one has systemed out to this add record process, what would be the exit
> code passed back the using qq=system() by just using an <end>?

dclerk doesn't exit when input processing hits END.

-- 
Kenneth Brody


More information about the Filepro-list mailing list