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



<FONT face="Default Sans Serif, Verdana, Arial, Helvetica, sans-serif" 
size=2><DIV>Booth,</DIV><DIV>&nbsp;</DIV><DIV>Are you sure?&nbsp; if you only 
use one or the other keywords (sfldrop or fold) it stays the same 
until&nbsp;control is passed back to your program and you redisplay - it then 
reverts back to it's initial setting,&nbsp;otherwise you must control it using 
a technique similar to what Don 
suggested.<BR></DIV><DIV>Rick<BR><DIV><BR></DIV><FONT 
color=#990099>-----rpg400-l-bounces@xxxxxxxxxxxx wrote: -----<BR><BR></FONT>To: 
&lt;rpg400-l@xxxxxxxxxxxx&gt;<BR>From: "Booth Martin" 
&lt;Booth@xxxxxxxxxxxx&gt;<BR>Sent by: rpg400-l-bounces@xxxxxxxxxxxx<BR>Date: 
08/14/2003 08:35AM<BR>Subject: Re: SFLMODE Question<BR><BR>Do you need to check 
for F5? The SFLCTRL should keep track of it for you,<BR>and stay in the mode it 
was in until your user changes it. <BR> <BR> <BR> 
<BR>---------------------------------------------------------<BR>Booth Martin 
<a href="http://www.MartinVT.com"; 
target=blank>http://www.MartinVT.com</a><BR>Booth@xxxxxxxxxxxx<BR>---------------------------------------------------------<BR>
 <BR>-------Original Message-------<BR> <BR>From: RPG programming on the AS400 
/ iSeries<BR>Date: Thursday, August 14, 2003 7:50:52 AM<BR>To: 
rpg400-l@xxxxxxxxxxxx<BR>Subject: SFLMODE Question<BR> <BR>I'm a bit confused 
about using the SFLMODE keyword. I have a subfile which<BR>is initially 
displayed in the SFLDROP mode. I use indicator CA05 to control<BR>the folding 
and dropping on the display. If the user hits the enter key,<BR>the subfile is 
processed, files are updated, and the subfile is reloaded.<BR> <BR>At this 
time, I check to see what mode the file is in (folded/dropped) and<BR>store a 
value to indicate this in another field. Right before the EXFMT on<BR>the 
control record I check that value and turn on/off *IN05 to expand 
or<BR>collapse the subfile as previously viewed. This does not seem to 
be<BR>working. After the updates and reload are performed, if the subfile 
was<BR>previously displayed in folded view, it is displayed in dropped view 
again.<BR> <BR>Is there something simple that I am missing? All I want to do is 
display<BR>the subfile in the same mode as displayed before the enter key is 
pressed.<BR> 
<BR>_________________________________________________________________.<BR> 
<BR>.<BR><BR>_______________________________________________<BR>This is the RPG 
programming on the AS400 / iSeries (RPG400-L) mailing list<BR>To post a message 
email: RPG400-L@xxxxxxxxxxxx<BR>To subscribe, unsubscribe, or change list 
options,<BR>visit: <a 
href="http://lists.midrange.com/mailman/listinfo/rpg400-l"; 
target=blank>http://lists.midrange.com/mailman/listinfo/rpg400-l</a><BR>or 
email: RPG400-L-request@xxxxxxxxxxxx<BR>Before posting, please take a moment to 
review the archives<BR>at <a href="http://archive.midrange.com/rpg400-l"; 
target=blank>http://archive.midrange.com/rpg400-l</a>.<BR><BR></DIV></FONT>

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.