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



Sorry, I misread you original question. The Field Exit does not return an
AID code as by itself, it does not return control to the program.
AFIK, there is no method available vie RPGLE to test for the Field Exit key
returning control via the CHECK(ER) keyword.

Jeff Young
Sr. Programmer Analyst

On Mon, Sep 19, 2016 at 12:25 PM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:

On 9/19/2016 10:38 AM, Jeff Young wrote:
Try using the AID byte in the workstation file status data structure.

What is the AID code for 'Field Exit'?
'Enter' is x'F1'
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/apis/dsm1f.htm
http://www.textfiles.com/bitsavers/pdf/ibm/525x/GA21-
9247-2_5250_Information_Display_System_Functions_
Reference_Manual_May80.pdf
(page 59)

I know I can request Field Exit Required on the FFW, but I didn't
realise it was also available as an AID code.

On Thu, Sep 15, 2016 at 2:05 PM, p.Caroti <p.caroti@xxxxxxxx> wrote:

I have a display with a field the CHECK(ER) Keyword (Automatic Record
Advance); Is it possible to understand if Enter or Field exit has been
pressed ?

--
--buck

Visit wiki.midrange.com and register for an account. Edit a page that
helps you, and because it's public, you'll help someone else, too!

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


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.