_ASCIIROWS

Display Connections, List Connections

These commands provide a list of named connections in a database. The name of the connection and the data source or connection string is listed.

Usage

DISPLAY | LIST CONNECTIONS         [ TO PRINTER [ PROMPT ] |            TO [ FILE ] cFileName [ ADDITIVE ] ]         [ NOCONSOLE ]
The same information is available using ADBOBJECTS() and DBGETPROP().

A database must be open and current before issuing the command.

Example

USE MyTestDBC CREATE CONNECTION TestConnection ;         DATASOURCE "MS Access 7.0 Databases" DISPLAY CONNECTIONS

See Also

ADBObjects(), Create Connection, DBGetProp(), Display and List, Modify Connection


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