|
It isn't clear to me where you clear the screen. There is a procedure
there, and I expected to see
turn on *in31
turn off *in30
write CTL01
turn off *in31
turn on *in30
set rrn01 to zero
or something similar, and didn't see that.
I did see that in the filling of the subfile though, however I couldn't
find any reference to *in30 except in the DDS.
Here is the pair of lines I use in my DDS for subfiles:
90 SFLDSP SFLDSPCTL
N90 SFLCLR
And then flip just one indicator to serve both mutually exclusive purposes.
(In other words, I am wondering if you change the *in30 in the DDS to
N31, and add a N31 to the SFLDSPCTL line, if your problems will heal?)
On 7/7/2011 3:14 PM, Mike Wills wrote:
I know this is a basic subfile question, but I can't remember how to fixit.
I have a skeleton program I use for all of my subfile programs
(https://gist.github.com/1070421) and the problem I always have is
that if I had something on the subfile then the item(s) are all
removed (so have a blank subfile), I still see the item(s) on the list
(though they can't be selected). I know I have searched in the past
for the solution, but couldn't find the solution. This time with my
next subfile program, I am determined to fix that bug. I thought I
have to do something with a blank record, but I don't remember exactly
what needed to be done.
Maybe the 6-day weekend is screwing with my mind...
--
Mike Wills
http://mikewills.me
--
Booth Martin
802-461-5349
http://www.martinvt.com
--
This is the RPG programming on the IBM i / System i (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.
As an Amazon Associate we earn from qualifying purchases.
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.