Functions Reference

Table Of Contents
Chapter 4
|
Design functions 49
GetNextSerialValue
Format
GetNextSerialValue(fileName;fieldName)
Parameters
fileName - the name of an open database file (local or remote).
fieldName - the name of the field whose next serial number you want to determine.
Important See “Design functions” on page 41 for information about literal text parameters.
Data type returned
text
Description
Returns the next serial number of fieldName in fileName. Field names must be fully
qualified in the form tablename::fieldname to specify a field that exists in a table
different from the current table.
Example
GetNextSerialValue(“Customers”;”CustID”) returns the next serial number for
the CustID field.
LayoutIDs
Format
LayoutIDs(fileName)
Parameter
fileName - the name of an open database file
(local or remote).
Important See “Design functions” on page 41 for information about literal text parameters.
Data type returned
text
Description
Returns a list of all layout
IDs in fileName, separated by carriage returns.
Example
LayoutIDs(“Customers”) returns a list of all the layout IDs in the Customers
database file.