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



Use READC to read through all subfile records which have had their
contents changed. Check the contents (filling in blank will also cause
the readc to read that record). While in the loop of readc-ing: keep
track of the rrn of the first record with a selection. If you find
another record with readc which has a selection: seton the error-flag
and update that record. Once you finished the readc-loop, go back to the
first selected record with chain and error-flag that one as well (since
either record may be in error)..

So the answer is that you may very well need both readc and chain.

Also mind the remarks of the other reactions, they made very valid
points.

Cor

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of derek gonsalves
Sent: donderdag 12 april 2007 15:11
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

_________________________________________________________________
Download Messenger. Join the i'm Initiative. Help make a
difference today.
http://im.live.com/messenger/im/home/?source=TAGHM_APR07




This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.