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


  • Subject: RE: RPG/SDA Question
  • From: "Kahn, David [JNJFR]" <DKahn1@xxxxxxxxxxxxx>
  • Date: Thu, 5 Aug 1999 17:22:07 +0200

I don't really understand why you'd want to do that. If the user has not
touched the subfile record, why would you need to check it against the
database? If it's a question of keeping the displayed information up to
date, that's a subfile refresh. After processing the changed subfile
records, clear the subfile and reload one page of it.

I'm also a bit mystified by some of the good programmers in this thread
who've claimed that READC doesn't work. It does. I nearly always process my
subfiles with READC. Having said that, however, I also have to agree that
the extra efficiency of READC is far less significant on today's hardware
than it was on the old clunkers we used to have. You can test this for
yourself in a well written subfile selection program that uses READC. Keep
paging down until the subfile has hundreds of records in it, make a
selection in the last record and press Enter. It should fly. Then do a
similar thing but this time enter a space in every previous selection field
and a genuine selection in the last. This time READC will pick up every
record in the subfile although your processing should simply ignore the
space selections. Any noticeable difference?


Dave Kahn
Johnson & Johnson International (Ethicon) France
Phone : +33 1 55 00 3180
Email :  dkahn1@jnjfr.jnj.com (work)
           dkahn@cix.co.uk      (home)



-----Message d'origine-----
De: Peter Trahan [mailto:peter.trahan@AURAFIN.com]
Date: 03 August 1999 23:34
À: 'RPG400-L@midrange.com'
Objet: RE: RPG/SDA Question 


Yes that's what I finally discovered.  However, there are some instances
where you may need to visit every record. i.e., if you need to check to see
if another program has change the corresponding database record.

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---END



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.