|
OpenTable()
Opens a database (DBF) table in the currently
open company folder.
Syntax
OpenTable(<cFile>, [cTableName]) -->
lResult
Arguments
<cFile> --> The name of the database
file to open.
<cTableName> --> Optionally specifies
the name to call the open table. If not specified, the name will be
<cFile>. The table name must not be longer than 10
characters, and cannot contain spaces or punctuation. The table
name must also start with a letter of the alphabet.
Returns
Returns logical TRUE if the table was
successfully opened, otherwise FALSE if there was a problem with
the open request: such as the table not existing.
Description
This function opens a CAPITAL database (DBF)
file.
You can execute the OpenTable() function multiple
times however the table is only opened once. If the table is
already open the OpenTable() function is ignored.
You may open up to 8 tables at once using this
function. Always use the CloseTable() function to close the table
after you have finished working with it.
____________________________
Related Topics
Business Function List
CloseTable()
|