CloseRecord Function

This function is called by HotDocs to indicate that access to the specified record is no longer needed.

This function was introduced with the release of HotDocs 2005 SP2. Earlier versions of HotDocs will not call this function.

Syntax

long CloseRecord ( long lRecordID )

Parameters Description
lRecordID The record identifier (key) of the record to close.

HotDocs assumes that all record IDs returned by an answer source are greater than or equal to zero. That is, negative record IDs are not allowed.

Return Value

Return HD_SUCCESS (1) if successful, and HD_FAILURE (0) if otherwise.