Load Note Number Style Sheet Action
Event Function: LoadNoteNumberStyles
The Load Note Number Style Sheet action attaches a Note Number style sheet to the current 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. |
C478=1 Cell C478 is a checkbox input cell which allows the user to choose in Form Mode whether this event should launch, for example. |
File Name |
Name of the style sheet file in current working directory, or full path otherwise |
"c:\Program Files\Caseware\styles\style.nsy" |
Options |
Action to be taken by CaseView with regards to existing Note Number Style Sheets. |
"MergeKeep" - Merge the newly loaded style sheet with the existing settings and keep any other existing styles. "MergeOverwrite" - Merge the newly loaded style sheet with the existing settings and overwrite any other existing styles. "Replace" - Replace the existing settings with those of the newly loaded style sheet and remove any other existing styles. |
Syntax (if entering it in the Equation bar)
ACTION("LoadNoteNumberStyles", expr1, expr2 )
Or
ACTION(iif(condition,"","LoadNoteNumberStyles", expr1, expr2 ))
Where
condition = the Skip Condition
expr1 = File Name of the Note Number Style Sheet to load
expr2 = Optional Behavior
How the example will appear in the Equation bar
ACTION("LoadNoteNumberStyles", "c:\Program Files\Caseware\styles\style.nsy", "MergeKeep")
Or
ACTION(iif(C478=1,"","LoadNoteNumberStyles", "c:\Program Files\Caseware\styles\style.nsy", "MergeKeep")) which will perform no action if the skip condition is met, or run the intended event if it is not.