Check out the SFLMODE keyword in the DDS reference.  I usually use it like
so:
DDS not to scale):
A                SFLMODE(&S1SFLMODE) 
A N91            SFLDROP(CF06)       
A  91            SFLFOLD(CF06)       
A            S1SFLMODE      1A  H  

RPG (also not to scale): 

C* Determine whether the subfile was folded.           
C     S1SFLMODE     IFEQ      '0'                      
C                   MOVE      *ON           *IN91      
C                   ELSE                               
C                   MOVE      *OFF          *IN91      
C                   ENDIF                              
C*                                                     

I believe '0' means the subfile has been "unfolded" to reveal the previously
hidden fields.

Hope that helps. 

Donald R. Fisher, III
Project Manager
Roomstore Furniture Company
(804) 784-7600 extension 2124
DFisher@xxxxxxxxxxxxx


<clip>
We have a program where the user presses F2 to FOLD,then enters data onto
the new line.  

We edit the data entered and when we find an error, highlight the bad field
and display an error message.

But when the screen is displayed, the bad field is not displayed unlesss the
user presses F2.  

How can we force the F2 when an error is found, so the bad field
displays without any user input?
<clip>

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 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.