Topic complex |
Table functions |
Function |
newtable() |
Short |
Create an (empty) copy of a table |
Syntax |
NEWTABLE(db : INTEGER; fn : STRING [; Auto-Start : INTEGER]) : INTEGER |
Parameter |
db : table handle returned by OpenDB
fn : path of the new table
Auto-Start : start value of the AUTO-INCEMENT field (if one exists) |
Return |
0 : file successfully created
else: error code |
See also: |
|
Description |
The new created table has the same structure as db has and is empty. Password and encryption are also taken over from db.
|