DELETETABLE Statement ---------------------------------------------------------------------------- Action Removes a table and deletes any indexes based on the table from an ISAM database. Syntax DELETETABLE database$, tablename$ Remarks The DELETETABLE statement uses the following arguments. ----------------------------------------------------------------------------- Argument Description ---------------------------------------------------------------------------- database$ A database filename or path. The argument database$ specifies an optional device, followed by a filename or path conforming to the DOS naming conventions. The database$ specification must be the name of an ISAM file. tablename$ The name used in the OPEN statement to open the table. Argument Description ---------------------------------------------------------------------------- statement to open the table. If the specified file is not an ISAM database file, BASIC generates the error message Bad file mode. Warning Use DELETETABLE with caution. DELETETABLE permanently removes the specified table from the database. See Also CLOSE, DELETE, DELETEINDEX, OPEN Example See the programming example for the SEEKGT, SEEKGE, and SEEKEQ statements, which uses the DELETETABLE statement.