function returns character
Description
Return the list of tables in the report resultset of the report that was last run with method openReport.
Parameters
icComponentName | input | character | |
icReportName | input | character | |
ocTableNameList | output | character | |
Internal usage
BLF
program code (program5/bgenericreportadapter.p)
ocTableNameList = "":U.
/* Build up a ";" seperated list of each table in the dataset */
FOR EACH tDatasetInfo WHERE tDatasetInfo.tcComponentName = icComponentName
AND tDatasetInfo.tcReportName = icReportName NO-LOCK:
ocTableNameList = ocTableNameList + tDatasetInfo.tcTableName + ";":U.
END.
ocTableNameList = TRIM(ocTableNameList, ";":U).