The information in this article applies to:
SUMMARY
When a connection is made to a SQL Server data source, the database in use
will be:
The initial database in use can be specified in the data source by going into the setup of the data source, clicking the Options button, and typing in the name of the database in the "Database Name" area. MORE INFORMATIONAssuming a connection exists to a SQL Server data source, the database in use can be changed by executing the following function:
This cannot be used reliably with Remote Views created from saved
Connections because there is no reliable way to determine the connection
handle obtained from the DataSource or a saved Connection. To connect to a
DataSource and obtain a handle number, use the SQLConnect()function in
Visual FoxPro or the DBConnect() function in FoxPro version 2.x for
Windows.
Additional query words:
Keywords : kbinterop kbVFp300 kbVFp500 kbVFp600 |
Last Reviewed: August 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |