Vous êtes ici: Help Topics > Customization > Calculation > Compare Document Action

Compare Document Action

Event Function: CompareDocument

The Compare Document action compares specified data within the open document to that in another selected document.

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.

File Name

Full name of the document to compare against the current document

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

Common (Y/N)

A decision to compare either common sections in the documents (yes) or the entire documents (no)

"Yes"

Comparison Type

A selection for the comparison type

"Current Year Document"

Ignore Hidden

A yes or no decision to ignore hidden sections during the comparison

"No"

Syntax (if entering it in the Equation bar)

ACTION("CompareDocument", expr1, expr2, expr3, expr4)

Where

expr1 = entry under File Name

expr2 = entry under Common (Y/N)

expr3 = entry under Comparison Type

expr4 = entry under Ignore Hidden

How the example will appear in the Equation bar

ACTION("CompareDocument", "c:\Program Files\Caseware\data\simple\simplefs.cvw", "Yes", "Current Year Document", "No")

Related Topics