Creating a Multiline Subfile

 

Sample code:
Display file source:                 PUISAMPLES/QDDSSRC(GRID007D)
RPGLE source:                      PUISAMPLES/QRPGLESRC GRID007R)

To create a multiline subfile, you will first need to adjust the subfile row height to create space for the second line of data.  Start by reducing the number of visible rows by clicking the minus sign icon at the bottom of the subfile several times.  Then, click on the horizontal border of one of the rows in the middle of the subfile and drag it up to resize the row.  Finally, drag and drop additional widgets into the subfile.