ReportExecuteAndPrint

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 ReportExecuteAndPrint( ref SalNumber nResultKey,
			       SalString lsReportAttr,
			       SalString lsParameterAttr,
			       SalString lsDistributionList,
			       SalString lsPrintAttr)

This method performs both ReportExecute and ReportPrint in one call. ReportPrint is only called if ReportExecute returns TRUE.

Parameters

Name Description
ref SalNumber nResultKey Generated ResultKey in Archive
SalString lsReportAttr Report specific attributes . Refer to ReportExecute
SalString lsParameterAttr Parameters passed to the report.
SalString lsDistributionList Field separator list of users or groups, strNULL will assume current user
SalString lsPrintAttr Print specific attributes. Refer to ReportPrint.

Returns

The return value is TRUE if the all worked out, else FALSE.