Hackers Guide to Visual FoxPro 7.0

Display Tables, List Tables

These two commands produce a list of the tables in a database. Each is listed with both its internal name and its complete path and file name.

Usage

DISPLAY | LIST TABLES [ TO PRINT [ PROMPT ] | TO [ FILE ] cFileName [ ADDITIVE ] ] [ NOCONSOLE ]

Like the other commands that list database components, these insist you open the database and make it current before using them.

The information displayed is more or less available from a combination of ADBObjects() and DBGetProp().

Example

OPEN DATA TasTrade LIST TABLES TO PRINT

See Also

ADBObjects(), DBGetProp(), Display and List

View Updates

Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.

Категории