AsyncRpt.RunReport

Ee796996.c++_on(en-US,CS.10).gifEe796996.vb_off(en-US,CS.10).gif

Use this method to initialize the AsyncRpt object and to render or export a static report asynchronously.

Definition

Sub RunReport(bstrRepParam As String)

Parameters

bstrRepParam

A String used to supply parameters to the AsyncRpt object.

Return Values

None.

Error Values

This method sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to E_FAIL (&H80004005) to indicate failure. For more information about standard COM errors, see Standard COM Errors.

Remarks

The AsyncRpt object calls the ReportRender object, passing it the bstrRepParam parameter.

The bstrRepParam parameter is identical to the sParamString parameter of the Init method of the ReportRender object. For more information, see ReportRender Object.

See Also

AsyncRpt Object


All rights reserved.