ForwardingTransaction::MakeAutonumber (open)

Returns an autonumber for a column in the specified table

Syntax

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

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

Parameters

schemaname

Name of the schema

tablename

Name of the table

columnname

Name of the column (case insensitive)

Return value

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