Marks the end of a report specification being sent to the active database. This function must be called after sending the report specification (using EsbSendString()) and before reading any returned data (using EsbGetString()).
Syntax
EsbEndReport (hCtx) ByVal hCtx As Long
Parameter | Description |
---|---|
hCtx | VB API context handle. |
Notes
This function must be preceded by a call to EsbBeginReport(), and at least one call to EsbSendString().
If the output flag is TRUE for the call to EsbBeginReport() that begins the report sequence, the call to EsbEndReport() must be followed by repeated calls to EsbGetString() until an empty string is returned.
Return Value
None.
Access
This function requires callers to have read privilege (ESB_PRIV_READ) to one or more members in the active database.
Example
Declare Function EsbEndReport Lib "ESBAPIN" (ByVal hCtx As Long) As Long
See the example for EsbBeginReport.
See Also