LIST TABLES Command

Example   See Also

Displays without pausing all tables and information about the tables contained in the current database.

Syntax

LIST TABLES
  [TO PRINTER [PROMPT] | TO FILE FileName]
  [NOCONSOLE]

Arguments

TO PRINTER [PROMPT]

Directs the information returned from LIST TABLES to a printer.

You can include PROMPT to display a Print dialog box before printing starts. Place the PROMPT keyword immediately after TO PRINTER.

TO FILE FileName

Directs output from LIST TABLES to the disk file specified with FileName. If the file already exists and SET SAFETY is ON, Visual FoxPro displays a prompt asking if you want to overwrite the file.

NOCONSOLE

Suppresses output to the main Visual FoxPro window or to the active user-defined window.

Remarks

The information returned includes the table names and paths and is a subset of the information shown using LIST STATUS. However, the information displayed using LIST TABLES contains only table-related information and displays the information regardless of whether the tables are open.