Download Fileman 22.2 Advanced User Manual

Transcript
Fileman 22.2 Advanced User Manual
Chapter 7: Fileman Functions
[APPOINTMENT is a Multiple-valued DATE/TIME
field]
MAXIMUM(PATIENT:AGE) => 93 [AGE is a field in the
current file, PATIENT]
MINIMUM
Format:
MINIMUM(fname)
MINIMUM(fname:field)
Parameters:
In the first format, fname is the name of a file or of a
Multiple-valued field in your current file.
In the second format:
fname is the name of your current file or Multiple.
field is the name of a field (or a field number preceded by
#) in fname.
Use:
This function returns the smallest value from the file's .01
field or from the Multiple identified by fname. The
second format returns the smallest value from field. (See
MAXIMUM for limits of use.)
Examples:
MINIMUM(APPOINTMENT) => MAR 1,1979
[APPOINTMENT is a Multiple-valued DATE/TIME
field]
MINIMUM(PATIENT:AGE) => 18
nTH
Format:
The syntax of this function is different because the
function's name is defined by the user. The name is a
number followed by an ordinal number suffix.
nTH(fname)
nTH(fname:field)
Parameters:
In the first format, fname is the name of a file or of a
Multiple in your current file.
102
March 2013