You are here: All Help Topics > Other Information > Action Events > Compare document

Compare Document Action

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

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"

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

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

Related Topics