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



Scott,

Are you are using SFLINZ?  if so, then no, you can't automagically
increment the rrn for display - I believe the rrn isn't assigned until it
is keyed into - that's why you are seeing blanks there.

why are you using CHAIN instead of READC?  If you initialize your subfile
with SFLINZ and SFLRNA (records not active), then only records keyed into
by the user will be returned from READC, even if they page 20 times and key
into the 21st page.  all other records will be 'unchanged' and thus, not
read -  this eliminates the need for displaying an rrn on the screen - you
even get sequential rrns when doing the read -

hth,

Rick

-----original message---------
Can you create a field in a subfile that shows a sequence # (like RRN)
without incrementing that number in the RPG?
My situation is this I have a load all subfile with 400 records with only 4
displayable on the screen at any time.  The subfile is a blank entry file
with just headings and input fields.  The users sometimes hit page down one
or two time two many and enter their stuff but the program does not do a
READC it does a chain and read combo and what happens it the stuff that was
typed, erroneously, a few pages two low get cleared.  Initially what I
would like to do is have a line sequence number displayed so they can tell
the difference in the screens and then go redesign this beast to work
correctly.

I have tried to define the RRN in the subfile but just shows blanks.

____________________________________________________

J. Scott Carter

It's not the destination that counts in life it's the journey. The journey
with the people we love is all that really matters. Such a simple truth so
easily forgotten.



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.