Basically im trying to write a window that will be setup over the screen. The window would look something like this. In this window at the very top there is a hidden subfile which we use to display error messages. It is just a regular subfile.
Everything above the black seperator line part of Record Format A1. Everything below the black line is part of format A2. I overlayed both of these record formats on another record format called W1. This record format is set to display as a window and it has no fields in it.
The reson behind this is that we are not writing the same format depending on the type of object being displayed. So i have 2 Record formats with information that have to be returned to my program. All of my controls including the back button are in my A1 Record format (A2 overlays A1 in the middle of it)
Code: Select all
Write UT1155PUI.W1P W1_Out;
A1_Out.S9_SflDsp = (S9_RRN > 0);
A1_Out.S9_SflDspCtlRcd = *On;
A1_Out.S9_SflClear = *Off;
Write UT1155PUI.A2 A2_Out;
Write UT1155PUI.A1 A1_Out;
Read UT1155PUI.A1 A1_In;
Read UT1155PUI.A2 A2_Out;