||Sets the next AUTO number
||SETAUTO(DB [,n] : INTEGER) : INTEGER
||DB : table handle from OPENDB
n : whole number
||Next auto number that is placed with the adding of a new record.
With this function a new start value for the automatical numbering can be set.
You have to pay attention that n is bigger than the highest so far placed with number, otherwise double auto numbers can occur in the table.
Is the function called without the parameter n, those number is returned that the next new record will get.