function pointers - how to change output mode to input mode (fields)in updating the database file using rpgle as400 -
i've written program in #rpgle
along 2 records work screen in display file.
first record display main-screen-of-company, takes input as:
emp id
indicators= f3
: exit f6
: accept.
after pressing f6
, goes second record
indicators= f3
: exit f12
: cancel f7
: modify f8
: delete f6
: accept
& fields in output mode.
when press f7
update fields, in o/p non editable mode should change editable mode.
how that?
try protecting field same indicator associated function key.
a r rec001 text('record') cf07(07) field r b 10 3 n07 dspatr(pr)
Comments
Post a Comment