IAsyncRpt::RunReport
Use this method to initialize the AsyncRpt object and to render or export a static report asynchronously.
Definition
HRESULT IAsyncRpt::RunReport(BSTRbstrRepParam);
Parameters
bstrRepParam
[in, out] A BSTR used to supply parameters to the AsyncRpt object.
Return Values
This method returns an HRESULT indicating whether it completed successfully. See the Error Values section for more details.
Error Values
This method returns S_OK (0x00000000) to indicate success and E_FAIL (0x80004005) 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.