PROGRAM()

Display Views, List Views

These two commands provide a list of views in the current database. Each shows the name of the view and whether it's local or remote. Views that have been taken offline also include a notation to that effect.

Usage

DISPLAY | LIST VIEWS         [ TO PRINTER [ PROMPT ]            | TO [ FILE ] cFileName [ ADDITIVE ] ]         [ NOCONSOLE ]
You can get the same information using a combination of ADBObject() and DBGetProp().

A database needs to be open and current before issuing these commands.

Example

OPEN DATA TasTrade LIST VIEWS TO PRINTER

See Also

ADBObjects(), Create SQL View, DBGetProp(), Display and List, Modify View


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