EsbEndDataload

Marks the end of an update specification being sent to the active database, and must be called after sending the update specification using EsbSendString().

Syntax

Declare Function EsbEndDataload Lib "esbapin" (
ByVal hCtx As Long,
ByVal ErrorName As String) As Long
ParameterDescription

hCtx

API context handle.

ErrorName

The name of the text file containing the list of errors. Possible errors (and error strings) in the text file are:

  • ESS_MBRERR_UNKNOWN (Unknown member [membername] in dataload, [number] records returned.)

  • ESS_MBRERR_DBACCESS (You have insufficient access privilege to perform a lock on this database.)

  • ESS_MBRERR_BADDATA (Invalid member [membername] in data column.)

  • ESS_MBRERR_DUPLICATE (Duplicate members from the same dimension on data record, [number] records completed.)

  • AD_MSGDL_ERRORLOAD (Unable to do dataload at Item/Record [number].)

Notes

Return Value

Returns zero, if successful. Otherwise, returns an error code, as follows:

Access

This function requires the caller to have write privilege (ESS_PRIV_WRITE) to the active database.