Snds a string of data to the active database. The string must be less than 32 KB long. This function should be called after EsbBeginReport(), EsbBeginUpdate(), or EsbBeginCalc().
Syntax
EsbSendString (hCtx, sndString) ByVal hCtx As Long ByVal sndString As String
Parameter | Description |
---|---|
hCtx | VB API context handle. |
sndString | Data string (must be less than 32 KB in length. |
Notes
Calling this function other than after successfully executing a begin report, update or calculate function will generate an error.
The string to be sent must be less than 32 KB long.
When you are using this function with EsbBeginUpdate(), you must end the update string with a carriage return or line feed character.
Return Value
None.
Access
This function requires no special privileges.
Example
Declare Function EsbSendString Lib "ESBAPIN" (ByVal hCtx As Long, ByVal sndString As String) As Long
See the examples for EsbBeginReport and EsbBeginUpdate.
See Also