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

This thread ...

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.