DocFileDatabaseID – Unique ID

The read-only property pWorkdoc.DocFileDatabaseID returns the database ID of document files attached to a Brainware Intelligent Capture workdoc. It corresponds to the [File].[Id] value in the database. The document file index has to be passed as a parameter when using DocFileDatabaseID property.

Use this property in scripts as a unique identifier of document files that were processed by Brainware Intelligent Capture.

Syntax

DocFileDatabaseID (ByVal Index as long) as Long
Parameter Description
Index The index parameter.

Possible values

0 to DocFileCount -1

Sample Code

The following sample code returns the unique ID of the last document file attached to a workdoc.

Dim lUniqueID as Long
lUniqueID = pWorkdoc.DocFileDatabaseID(pWorkdoc.DocFileCount - 1)