|
Here is what is happening. When you suppress the writing of the subfile, it doesn't write to the screen. Which means that it leaves whatever is there. What you need to do is use the option to clear records from the display. You can find it in the Select Overlay Keywords Screen at the bottom. You can put an indicator on it and put your subfile control record name in the space provided. At least that my theory. I haven't had a chance to test it. But that is your problem; I have encountered the same thing. Hope this helps. Marvin PS Here is what it looks like (the keyword is ERASE): Select Overlay Keywords Record . . . : REC10C Type choices, press Enter. Keyword Y=Yes Indicators/+ Roll Overlay without erasing . . . . . . OVERLAY Retain data on re-display . . . . . PUTRETAIN Protect all input fields . . . . . . PROTECT Activate OVRDTA and OVRATR . . . . . PUTOVR Override Data . . . . . . . . . . . OVRDTA Override Attribute . . . . . . . . . OVRATR Initialize input fields . . . . . . INZINP Reset all modified data tags . . . . MDTOFF MDTOFF parameter . . . . . . . . . *UNPR *ALL Erase all input fields . . . . . . . ERASEINP ERASEINP parameter . . . . . . . . *MDTON *ALL Erase all records below . . . . . . ERASE F3=Exit F12=Cancel -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of rpg400-l-request@xxxxxxxxxxxx Sent: Thursday, November 02, 2006 7:42 AM To: rpg400-l@xxxxxxxxxxxx Subject: RPG400-L Digest, Vol 5, Issue 1223 message: 2 date: Thu, 2 Nov 2006 10:34:35 -0500 from: "Phil Kestenbaum" <pkestenbaum@xxxxxxxxxxx> subject: RE: Sfldsp problem Can you post the code? -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Smith, Mike Sent: Thursday, November 02, 2006 10:35 AM To: rpg400-l@xxxxxxxxxxxx Subject: Sfldsp problem I have written a Data entry subfile. First Dataentry subfile I have written in years and years. On the SFLCTl is 1 field to enter a route. Upon entering the route and validating a subfile is displayed with any existing records and empty subfile lines When F12 is entered the subfile display is turned off and only the Subfile Control should be displayed. This is where my problem is. The Subfile Display continues to show. I have verified that the SFLDSP is *off . I am using the same indicator to control the headings on the SFLCTL. These dissappear when F12 is selected, but the subfile does not. Anybody encountered this before? Michael Smith iSeries.mySeries.
As an Amazon Associate we earn from qualifying purchases.
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.