Function Table() Foundation

Determines whether the specified table exists.

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

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.

Description

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.

Feedback

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.