ASTACKINFO()

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.



Hacker's Guide to Visual FoxPro 7. 0
Hackers Guide to Visual FoxPro 7.0
ISBN: 1930919220
EAN: 2147483647
Year: 2001
Pages: 899

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net