You are here: Features > Cell Functions > Linkage Functions > DMDESC function

DMDESC Function

The DMDESC function inserts the description of a CaseView document as it appears in the Working Papers Document Manager. Please note that the results drawn into CaseView by this function will respect the Language setting on the CaseView document's Properties page (accessed from the Working Papers Document Manager, select the document and browse to Document | Properties | General tab).

Syntax

DMDESC("integer",<argument>,<language identifier>)

Where

The integer is the document's number. To get the document number, click File | Open in CaseView and look at the entry under the Schedule column.

The argument is optional and controls the type of description that appears in the cell.

Value Description

0

Returns the document name as shown in the Document Manager in Working Papers

1

Legacy behavior. Returns the Extended Description from the document properties in Working Papers if the document is a CaseView document. Otherwise the File Path is returned.

2

Legacy behavior. Returns the Extended Description from the document properties in Working Papers if the document is a CaseView document. Otherwise the File Path is returned.

If no Extended Description is present, the document name will appear in the cell.

3

Returns the Extended Description

4

Returns the Extended Description if one exists. Otherwise returns the Description.

If an argument is not provided, CaseView returns the document name as shown in the Document Manager in Working Papers.

Example 1

In the Sample file that comes with the program, entering

DMDESC("1")

Inserts the title of document number 1 Mapping Number Explained into the cell.

Example 2

DMDESC("1","0","FRE")

In Working Papers, under Tools | Options | Language, it is possible to specify multiple global languages. Please refer to the Working Papers help for more information on multiple language support.

Each language will have an applicable Identifier which can be used to draw document names and extended descriptions into CaseView. This example would link to the French version of the name of document 1.

Notes

  • Line breaks in the extended description are preserved when linking in CaseView.

Related Topics