Prototype
IntTableHandle:=TableOpen(strDataBaseName,strTableName)
Description
It opens the table as it was a parameter.
Parameters
StrDataBaseName: string corresponding to a directory.
StrTableName: string corresponding to the file table to open (with extension .db or .dbf).
Returned value
IntTableHandle: integer value corresponding to the table handle.
Notes
This function asks for the name of a database standard as well as the name of an existing table in the database.
The returned value can be used in the functions that work on the tables (TableClose, TableRecordCount, TableFirst,
).
Example
// It stores the table handle
UnaTabella:= TableOpen('c:\documents\index','statistics.db');
//It sets the current record edit mode
TableEdit(UnaTabella);
// It executes other operations
//It confirms the change
TablePost(UnaTabella);
// It executes other operations
// It closes the table
TableClose(UnaTabella);