DOCID Function

The DOCID function returns the CVID and CVDIST of the active or specified CaseView document from the database as an uppercase string.

Syntax

DOCID(Opt1)

Example 1

DOCID( )

If 10 is the document identifier of the current CaseView document, this function returns 10. When using this function it is best to use an alphanumeric cell so that any decimal places in the number display correctly. If the document is not a CaseView document, the function will return whatever is in the NAME field in the SH database for that document.

Example 2

DOCID("G.1")

If G.1 is the document number of a CaseView document, this function returns 12, if the document identifier of that document is 12. Format cells for this function as alphanumeric so that any decimal places in the number display correctly.

Related Topics