Binding of the GUI field to the RPG field
Posted: Tue Aug 03, 2010 10:47 am
Question:
The actual binding of the GUI field to the RPG field happens at compile time or is there another mechanism I am missing?
Answer:
The concept demonstrated during the demo is identical to a green-screen DDS record format or subfile. As you add the fields into the grid widget, this is creating a subfile record format and fields within it in the DDS code. The RPG program will then load/read the subfile by populating the DDS fields and using the standard WRITE, READC, CHAIN, etc. operations, as normal. What was created in the visual designer is an actual DDS display file that works in the same way with RPG -- it's just much more capable with Profound UI and Open Access.
The actual binding of the GUI field to the RPG field happens at compile time or is there another mechanism I am missing?
Answer:
The concept demonstrated during the demo is identical to a green-screen DDS record format or subfile. As you add the fields into the grid widget, this is creating a subfile record format and fields within it in the DDS code. The RPG program will then load/read the subfile by populating the DDS fields and using the standard WRITE, READC, CHAIN, etc. operations, as normal. What was created in the visual designer is an actual DDS display file that works in the same way with RPG -- it's just much more capable with Profound UI and Open Access.