The SysListPanelRelationTable class can only display fields from a single table. Alternatively, there is another application class named SysListPanelRelationTableCallback, which allows you to create more complex lists.
In order to demonstrate its capabilities, we will expand the previous example by displaying the customer name next to the account number. The customer name is stored in another table and can be retrieved by using the name() method on the CustTable table.
First, in the form's class declaration, we have to change the list declaration to the following code line:
SysListPanelRelationTableCallback sysListPanel;
Next, we create two new methods--one for the left list and the other one for the right list--that generate ...