Unable to update rich DSPF subfile from RPG
Posted: Mon Jul 26, 2021 8:55 am
Dear Scott and Team,
I have a green screen subfile for which I am attempting to create an equivalent rich DSPF using the "grid" widget.
The first field of each subfile record is an option input field where the user can take an option '1' to select a record and flag it for deletion.
There is a "select all" option which will update the option field of all records to '1'. The intention of this option is to reduce the users efforts to key in the option value for all records.
In the rich DSPF, the option field is a select box widget. I am trying to chain the subfile records based on rrn and update option field value. This works fine in green screen, but in the web screen it just wont update.
Any help please?
I have a green screen subfile for which I am attempting to create an equivalent rich DSPF using the "grid" widget.
The first field of each subfile record is an option input field where the user can take an option '1' to select a record and flag it for deletion.
There is a "select all" option which will update the option field of all records to '1'. The intention of this option is to reduce the users efforts to key in the option value for all records.
In the rich DSPF, the option field is a select box widget. I am trying to chain the subfile records based on rrn and update option field value. This works fine in green screen, but in the web screen it just wont update.
RPG CODE
I have defined the choices property value to have one value "1=Select". This is the same value I am using in the RPG. So I am not sure why this isnt updating.Any help please?