4.0
Table Of Contents
- Chapter 1
- Chapter 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 6
- Chapter 7
- Chapter 8
- Chapter 9
- Glossary
- Welcome
- Installation and Setup
- Form Usage
- OmniForm Procedures
- Designing a Form
- The Design Process
- The Design View Window
- The Design View Toolbars
- Creating Objects on a Form
- General Creation Guidelines
- Creating a Text Object
- Creating a Line Object
- Creating an Oval Object
- Creating a Rectangle Object
- Adding Graphics to Your Form
- Creating a Fill Text Object
- Creating a Comb Object
- Creating a Check Box Object
- Creating a Circle Text Object
- Creating a Table Object
- Creating a Fill Graphic Object
- Defining Objects on a Form
- Changing Object Appearance on a Form
- Adding Color to a Form
- Adjusting Colors
- Editing a Form
- Advanced Features
- Filling a Form
- Managing an OmniForm Database
- Using Calculations
- Technical Information
Operators
Using Calculations 209
Usage Conventions
Substitute the appropriate field name where you see
num
and
str
in the
function examples. Parentheses are required where indicated. Below is
a list of conventions showing operator and function usage.
Operators
Operators represent mathematical, comparison, logical, and text
operations to be performed within a calculation. You must have an
operator between fields in a calculation.
For example, a calculation for a
To t a l
field
might look like this:
[Price1] + [Price2] + [Price3]
The plus signs between the field names are the
Addition
operators in the
calculation.
The calculation could also look like this:
Sum([Price1],[Price2],[Price3])
The parentheses are the operators in the calculation. Commas, although
not operators, also separate the fields.
You must insert the proper parentheses, brackets, and commas when
you create a function manually or OmniForm will not accept the
calculation. See “Calculation Guidelines” on page 207 for detailed
information.
Operator Function
date
date value: the expression must evaluate to a valid date
time
time value: the expression must evaluate to a valid time
num
number or numeric expression; num1, num2, and so forth indicate
additional number values
str
text string: str1, str2, and so forth indicate additional string values
...
additional repeating values of the given type may be entered
[ ]
brackets inserted around field names
log exp
logical expression
true exp
true expression
false exp
false expression