CloseTable()


Closes a database table previously opened with the OpenTable() command.

Syntax

CloseTable(<cFile>)

Arguments

<cFile> --> The name of the database file to close. If <cFile> is not specified all tables opened with the OpenTable() command are closed.

Returns

Returns logical TRUE if the table was successfully closed, otherwise FALSE if there was a problem with the close request. This function would return FALSE if the requested table was not already open.

Description

This function closes a CAPITAL database (DBF) file previously opened with the OpenTable() function.

generate/mistake2.gif Do not close tables you have not already opened using the OpenTable() command.

____________________________

Related Topics:

Business Function List

OpenTable()

 



CAPITAL VISUAL BUILDER