You are here: Help Topics > Customization > Calculation > Close Any CaseView Document Action

Close Any CaseView Document Action

Event Function: CloseAnyDocument

The Close Any CV Document action closes a specified CaseView document regardless of the client file.

Using the Events tab

Under Enter Example

Run Skip Condition

If desired, enter skip conditions for the event. When the "Run Skip Condition" is evaluated to be true, the action is not performed.

Document Filename

Full name of the document

"c:\Program Files\Caseware\data\simple\simplefs.cvw"

Save File

A yes or no decision to save the file before closing

"Yes"

Syntax (if entering it in the Equation bar)

ACTION("CloseAnyDocument", expr1, expr2)

Where

expr1 = entry under Document Filename

expr2 = entry under Save File

How the example will appear in the Equation bar

ACTION("CloseAnyDocument", "c:\Program Files\Caseware\data\simple\simplefs.cvw", "Yes")

Related Topics