Will return one or more complete rows from the active screen. If startRow and endRow are the same value, a text string is returned. If endRow is higher than startRow, an array of strings will be returned.
Parameter |
Description |
startRow |
Row to start reading from (1=first row) |
endRow |
Row to end reading--should be equal to or higher than startrow (1=first row) |
Return Value |
Description |
String or String Array |
If startRow == endRow, returns a simple string. If the values are different returns an array of strings with the length of the array equal to the number of rows. |
Note:
When using the msgAPI mode, you will need to add an await to any request, as the GetScnRows must be executed within the FVTerm iFrame using messaging, and with the msgAPI mode this function returns a Promise not the actual row values!