× 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 have to change your subfile to processing by page (where page size
equals subfile size).  That way, when PgDn is pressed, return will be
passed to the program and you can do error checking.

Jeff Morrill




                    P.Goovaerts@Clippe
                    r.Be                     To:     code400-l@midrange.com
                    Sent by:                 cc:
                    code400-l-admin@mi       Subject:     SFL processing
                    drange.com


                    12/05/2001 09:30
                    AM
                    Please respond to
                    code400-l






I have a basic DSPF/SFL-processing question which I hope will be answered
here.  (It's not Code400 specific)

this is how it works now:
----------------------------------
I have a SFL with 50 records.
Screen display's topline (1st page).
I enter option '3' on the 3rd record
then I scroll to the 4th page
I enter option '2' in the 2nd record
finally I press enter inputoptions are checked/processed
user get's an error the option on first page is not valid

When the user uses pageup/pagedown, he is scrolling through the subfile
without entering the program.

but

I want an errormessage when user enters '3' followed by pageup/pagedown
without processing

QUESTION:
Is it possible to check the options when the user users pageup/pagedown
- without 'processing' the program logic
- without using specific function keys (i.e. 'F7/F8')
- without using the 'Values' keyword in DDS like this:
               ZSEL           1A  B  7  2VALUES(' ' '1' '2' '4' '7')

a good example of what I want is the behaviour of the 'Work With Members'
-panel.
When a user enters '10' and presses 'PageDown', he get's a message that
this is not a valid option, however when entering a correct option, it is
not processed immediatly.



_______________________________________________
This is the CODE/400 Discussion & Support (CODE400-L) mailing list
To post a message email: CODE400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
or email: CODE400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/code400-l.







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.