×
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.
You can use READC if the OPT field is part of the subfile. You do READC,
check the Opt field for an 'X' and UPDATE. Maybe you could use SFLNXTCHG
if this ind. Is on more than one time, you have the error condition.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[
mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of derek gonsalves
Sent: Thursday, April 12, 2007 9:11 AM
To: RPG400-L@xxxxxxxxxxxx
Subject: Update the subfile record using Readc
Hi,
I have a subfile which looks similar to the one below.
Select X
Opt Product
_ ABC
_ XYZ
_ LMN
Now if i select two records i need to update the subfile with the error
message and reverse image on as only one selection is allowed.
I can do this by chaining the subfile with the RRN, but can i do the
same by
using readc?
Do i have to use any other keyword for this. How do i update the
subfile(how
do i chain it to the record to be updated/reverse imaged on the subfile
using readc)
Thanks in advance
Derek
As an Amazon Associate we earn from qualifying purchases.