Function.ODBC.Connection!conname.GetID
From GAB Help
Given a table and field, this function returns a long integer. If the Increment boolean is set to True, the long return will be equal to the greatest field value, plus one. If the boolean is False, the highest value is returned. Note: This command should only be run against a numeric field.
Contents
Syntax
Function.ODBC.Connection.GetID(Table name, field name, increment boolean, long return)
Function.ODBC.Connection.GetID(Table name, field name, increment boolean, numeric source boolean, long return)