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



Do you need to check for F5? The SFLCTRL should keep track of it for you,
and stay in the mode it was in until your user changes it. 
 
 
 
---------------------------------------------------------
Booth Martin http://www.MartinVT.com
Booth@xxxxxxxxxxxx
---------------------------------------------------------
 
-------Original Message-------
 
From: RPG programming on the AS400 / iSeries
Date: Thursday, August 14, 2003 7:50:52 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: SFLMODE Question
 
I'm a bit confused about using the SFLMODE keyword. I have a subfile which
is initially displayed in the SFLDROP mode. I use indicator CA05 to control
the folding and dropping on the display. If the user hits the enter key,
the subfile is processed, files are updated, and the subfile is reloaded.
 
At this time, I check to see what mode the file is in (folded/dropped) and
store a value to indicate this in another field. Right before the EXFMT on
the control record I check that value and turn on/off *IN05 to expand or
collapse the subfile as previously viewed. This does not seem to be
working. After the updates and reload are performed, if the subfile was
previously displayed in folded view, it is displayed in dropped view again.
 
Is there something simple that I am missing? All I want to do is display
the subfile in the same mode as displayed before the enter key is pressed.
 
_________________________________________________________________.
 
.


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.