If the Host application has output displayed in the form of tables, then you need to use output tables to collect data from
these tabular screens.
To define an output table, drag while pressing (Ctrl+Shift) and move the mouse to define the table to be included in your
output then release Shift only and drop the dragged table over the output parameters node of the current screen node.
This will add an output table node to the navigation with the following properties:
Property |
Description |
Fields |
A collection that contains all the columns in the table. |
FirstRow |
Row where the table begins in the screen. |
LastRow |
Row where the table ends in the screen. |
Name |
Read only. |
A field in the Fields collection has the following properties:
Property |
Description |
Column |
The start position of this column. |
Name |
Name of the column. |
Selected |
Public System.Booleanean. If set to false then this column is not returned in the output. |
We can choose to output any subset of the fields by setting their selected property conveniently.
Tables in loops
To define a table that may have its rows spread over more than one page (multi-page tables) proceed as follows:
|
1. |
Define a loop for the specified screen. |
|
2. |
Set the end condition of the loop so that you stop at the last page (or at another place in the table). |
|
3. |
Drag your table and drop it over the loop node to define what we call a loop table. |
The table will now collect data from all the consecutive screens of the loop.