ReportExecute

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalBoolean ReportExecute( ref SalNumber nResultKey,
		       SalString lsReportAttr,
		       SalString lsParameterAttr,
		       SalString lsDistributionList )

The method ReportExecute calls public interfaces in IFS/Info Services which creates the resultset structure and executes the report method. It also does any necessary distribution if the list is supplied.

Parameters

Name Description
ref SalNumber nResultKey Generated ResultKey in Archive
SalString lsReportAttr Report specific attributes. Items recognized are:
  • REPORT_ID - report id for report to execute. 
SalString lsParameterAttr Parameters passed to the report.
SalString lsDistributionList Field separator list of users or groups, strNULL will assume current user

Returns

The return value is TRUE if the method completed successfully. The transaction is also committed. If not successful the transaction is rolled back and the method returns FALSE.