× 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: Subfile question.
  • From: István Rudas <Istvan@xxxxxxxxx>
  • Date: Fri, 19 May 2000 19:35:03 +0200

Ciao Fabrizio,

I would like to add to Dan Bale's answer:

[assuming, that you filled your SFL until your data ended, so you have to
save the "last used" SFL Rec.Number].

IF YOUR GOAL IS, to have a Key X "top" and another Key Y "bottom",  
when Key X or Y is pressed:
- you just  have to fill in a 1 in the SFL Rec.Number for "top" 
- or the "last used" SFL rec.Number for "bottom" 
- and then EXFMT the subfile again. 
(the cursor is positioned to the actual SFL Rec.Number and you get that
page where the actual SFL Rec.Number=cursor is).
SFLRCDNBR (CURSOR) could be helpful reading in the manual, because it works
differently if you do not have any input fields. (SC42-2060-01)

... and if it looks ugly for you, if the cursor is standing 'somewhere' on
your screen, you can make a little calculation with your page-size SFLPAG,
to find the SFL Rec.Number of the first line of the actual page before you
EXFMT ....

IF YOUR GOAL IS DIFFERENT; please give  more detailed information what the
question is!

István


>
>> -----Original Message-----
>> From:        Fabrizio Gurrieri [SMTP:fabrizio.gurrieri@bartolini.it]
>> Sent:        Friday, May 19, 2000 8:22 AM
>> To:  RPG400-L@midrange.com
>> Subject:     Subfile question.
>> 
>>      Sorry, I make a mistake, I need to scroll Up and Down a subfile
>> respectly until the top or the bottom automatically.
>> Any suggestions???
>> 
>> Thanks

------------------------------------------------------
István Rudas (Mr.),    R U D A S   EDV-Beratung
A-1060  W i e n,  (Austria),     Stiegengasse  4/4
Tel:  (+43/1) 587 43 71;    (+43/664) 308 79 78 
Fax:  (+43/1) 581 67 08; http://www.Rudas.net      
               mailto: Istvan@Rudas.net      
-------------------------------------------------------
+---
| 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
+---

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.