You are here: All Help Topics > Other Information > Cell Functions > DOCNUM function

DOCNUM Function

The DOCNUM function returns the document number of the active CaseView document or a specified CaseView document.

DOCNUM(document identifier, distributor ID)

DOCNUM()

If 1.1 is the document number of the active CaseView document, this function returns 1.1. When using this function it is best to use an alphanumeric cell so that any decimal places in the number display correctly.

DOCNUM("FS")

The first optional parameter identifier is used to return the document manager number for the first CaseView document found with the given identifier. For example, if the document 1.1 in the Working Papers Document Manager was a CaseView document with the identifier "FS", the calculation DOCNUM("FS") will return 1.1.

DOCNUM("FS","CWCW")

If there are two documents in the Working Papers Document Manager with the identifier "FS" then the distributor ID can be used as a second parameter to differentiate between them and return the correct document number.

Related Topics