Thanks Gary, after that e-mail I decided to try your suggestion of DSPART(PR) . . . will post my results
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Monnier, Gary
Sent: Wednesday, February 18, 2015 10:51 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: RE: update subfile rows
Can you use DSPART(PR) to prevent the user from changing a field?
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Gary Thompson
Sent: Wednesday, February 18, 2015 9:13 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: update subfile rows
I'm updating an existing subfile and related program.
The program displays a list of locations for which a month-end file must be created.
As the user selects a row/location from the subfile, I update the subfile to show the month-end file that was created.
So far, this much works.
What I want now is to have subfile rows display where the required file has been created, but prevent the user from updating rows with a file name.
So far the only idea I've come up with is to use "Inhibit Keyboard Entry (I)" on the one updatable subfile field, but I've never used this and want to prevent a "round trip" between program and user - so I'm looking for a way to ensure the user cannot "touch" any subfile rows with a file name ?
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (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.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (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.