bas7advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
DELETETABLE Statement Details
  ◄Syntax►  ◄Details►  ◄Example►                 ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
DELETETABLE removes a table and any indexes based on the table from an ISAM
database.
 
DELETETABLE database$,tablename$
    ■ The argument database$ specifies an optional device, followed by a
      filename or path conforming to the DOS naming conventions. The
      database$ must be the name of an ISAM file.
    ■ The argument tablename$ is the name used in the OPEN statement to
      open the table.
 
Usage Notes
    ■ If the specified file is not an ISAM database file, BASIC generates
      the error message, "Bad file mode."
 
Important
    ■ Use DELETETABLE with caution. DELETETABLE permanently removes the
      specified table from the database.