function returns logical
Description
This function returns if the specified table is available.
Parameters
icComponentName | input | character | Business component |
icReportName | input | character | The name of the report. |
icTableName | input | character | The name of the table to check if it is available. |
Internal usage
BLF
program code (program1/bgenericreportadapter.p)
/* Check is there already a dataset populated for this report */
FOR FIRST tDatasetInfo WHERE
tDatasetInfo.tcComponentName = icComponentName AND
tDatasetInfo.tcReportName = icReportName AND
tDatasetInfo.tcTableName = icTableName:
RETURN VALID-HANDLE(tDatasetInfo.thDataset) AND
VALID-HANDLE(tDatasetInfo.thDataset:get-buffer-handle(icTableName):table-handle) AND
tDatasetInfo.tlTableAvailable.
END.
return false.