Download User`s Manual

Transcript
TriggerCalc User’s Manual
2
Table of contents
INTRODUCTION..........................................................................................................................4
Purpose of the add-on ................................................................................................................. 4
How it works............................................................................................................................... 4
Version differences ..................................................................................................................... 5
Registering TriggerCalc.............................................................................................................. 5
Support........................................................................................................................................ 5
TRIGGERCALC STANDARD ....................................................................................................6
Setting up a calculation............................................................................................................... 6
Using the trigger feature for automating calculations............................................................. 6
Which field should have a trigger? ......................................................................................... 7
Calculation syntax....................................................................................................................... 7
Determining Field IDs ............................................................................................................ 7
Operators..................................................................................................................................... 8
Basic Operators:...................................................................................................................... 8
Operator precedence ............................................................................................................... 9
Conditional statements............................................................................................................ 9
Functions included in the standard version............................................................................... 10
Date/Time functions.............................................................................................................. 10
String functions..................................................................................................................... 10
Mathematical functions......................................................................................................... 11
Multiple calculations................................................................................................................. 11
Errors......................................................................................................................................... 12
Creating a button for manual calculations ................................................................................ 12
TRIGGERCALC PRO................................................................................................................13
The prompt screen..................................................................................................................... 13
The Syntax editor...................................................................................................................... 14
Inserting fields ...................................................................................................................... 14
Inserting functions ................................................................................................................ 15
Inserting an operator ............................................................................................................. 15
Inserting comments............................................................................................................... 15
Saving your syntax in a file .................................................................................................. 16
Loading a file ........................................................................................................................ 16
Previewing and testing your syntax ...................................................................................... 16
Running multiple calculations .............................................................................................. 17
Closing the syntax editor ...................................................................................................... 17
Referencing a file in your trigger syntax .................................................................................. 18
Using a function inside another function .................................................................................. 18
Using a formula to define the target field ................................................................................. 19
The Trigger Syntax builder....................................................................................................... 19
Additional functions included in the Pro version ..................................................................... 20
If function.............................................................................................................................. 20
Statistical functions............................................................................................................... 20
Mathematical functions......................................................................................................... 21
String functions..................................................................................................................... 21
Date functions ....................................................................................................................... 22
Format function..................................................................................................................... 24