2.0
Table Of Contents
- Introduction
- Installation and Setup
- Tutorials
- Views and Form Usage
- OmniForm Procedures
- Designing a Form
- The Design Process
- The Design View Toolbars
- Creating Objects
- General Creation Guidelines
- Creating a Text Object
- Creating a Line Object
- Creating an Oval Object
- Creating a Rectangle Object
- Creating a Graphic Object
- 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
- Changing Object Appearance
- Redesigning Your Form
- Using the Scrapbook
- Inserting OLE Objects in a Form
- Filling a Form
- Managing an OmniForm Database
- Using Calculations
- Calculation Overview
- Operators
- Functions
- Abs (Absolute Value)
- Avg (Average)
- Date (Current Date)
- DayName
- DayOfMonth
- DayOfWeek
- DayOfYear
- Exp (Exponentiation)
- FV (Future Value)
- Hour
- If
- Int (Integer)
- Left
- Length
- Ln (Natural Logarithm)
- Log (Base 10 Logarithm)
- Lower
- Max (Maximum)
- Middle
- Min (Minimum)
- Minute
- Mod (Modulus (Remainder))
- Month
- MonthName
- Pi
- PMT (Payment)
- Position
- Proper
- PV (Present Value)
- RecordCount
- Replace
- Replicate
- Right
- Round
- Second
- Sign
- Sqrt (Square Root)
- Sum
- Time
- Trim
- Trunc (Truncate)
- Upper
- Year
- Functions — Quick Reference
- Functions Sorted by Type
- Technical Information
- Glossary
Functions
Using Calculations - 252
Functions — Quick Reference
See “Usage Conventions” on page 9-227 for information on how to
interpret the examples in the following table. A brief description and
usage of each function is listed.
Function Type Description Usage Example
Abs
mathematical Absolute Value: returns the value of num Abs(num)
Avg
statistical Average: returns the average for num1, num2,
etc.
Avg(num1, num2, ...)
Date
date Date: returns the current date as MM/DD/YY
based on the current system date
Date()
DayName
date DayName: returns the name of the day of the
week for a given date
DayName(date)
DayOfMonth
date DayOfMonth: returns the number for the day of
the month for a given date
DayOfMonth(date)
DayOfWeek
date DayOfWeek: returns the number for the day of
the week for a given date. Sunday returns 1,
Monday returns 2, etc.
DayOfWeek(date)
DayOfYear
date DayOfYear: returns the number for the day of
the year for a given date
DayOfYear(date)
Exp
mathematical Exponentiation: returns the value of the
constant
e
, the base of natural logarithms
(approximately 2.71828) to the power of
num; inverse of Ln function.
Exp(num)
FV
financial Future Value: returns the future value of an
investment given a payment num, interest rate
num, and num of periods
FV(payment num, rate num, num
of periods)
Hour
time Hour: returns the hour for a given time Hour(time)
If
logical If: if the log exp is true, the true exp is executed;
otherwise, the false exp is executed
If(log exp, true exp, false exp)
Int
mathematical Integer: returns the integer portion or whole
number of num
Int(num)