Topic complex |
Array functions |
Function |
getauto() |
Short |
Stores the inr-index in an integer array |
Syntax |
GetAuto(db : INTEGER; VAR an : INTEGER[];i:Integer) : INTEGER |
Parameter |
db : handle returned by OpenDB()
aAutoID : ARRAY[FilsIze(db)] to store the auto field values.
|
Return |
-1 -> passed array dimensioned too small
otherwise FileSize(db) |
See also: |
|
Description |
This function stores the value of each auto field of a database db within the passed array. The field index represents the physical record number.
|