Function Table() Foundation

Determines whether the specified table exists.

Table( <cTablename>[, <oSession>] )
<cTablename> is a character string specifying the name of the table.
<oSession> optionally specifies the Session context for the operation. If oSession is not specified, the current session of the current thread is used.

The return value of Table() is .T. (true) when a table with <cTablename> is found. When no table exists the value .F. (false) is returned.


The function Table() allows testing for the existence of a specific table by name. Note that table names are case insensitive in Xbase++.

If <oSession> is not passed, the current NoSQL/ISAM Database Engine is used to test for the existence of the table.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.