LoopbackTransaction::MakeAutonumber (open)

Returns an autonumber for a column in the specified table

Syntax

LOADLIB "wh::dbase/loopback.whlib";

INTEGER FUNCTION MakeAutonumber(STRING schemaname, STRING tablename, STRING columnname)

Parameters

STRING schemaname

Name of the schema

STRING tablename

Name of the table

STRING columnname

Name of the column (case insensitive)

Return value

INTEGER

New autonumber (number that is guaranteed to be unique in that column when inserted, while this transaction exists)