MDAC 2.5 SDK - Visual FoxPro ODBC Driver


 

SQLDriverConnect

Support: Full  
ODBC API Conformance: Level 1

Connects to an existing data source, which can be either a database or a directory of free tables. The ODBC attribute keywords UID and PWD are ignored. The following table lists the additional supported attribute keywords.

ODBC attribute keyword Attribute value
DSN  
UID Ignored by the Visual FoxPro ODBC Driver but does not generate an error.
PWD Ignored by the Visual FoxPro ODBC Driver but does not generate an error.
Driver The name and location of the Visual FoxPro ODBC Driver; implemented by the Driver Manager.

Visual FoxPro ODBC Driver attribute keyword
Attribute value
BackgroundFetch "Yes" or "No"
Collate "Machine" or other collating sequence. For a list of supported collating sequences, see SET COLLATE.
Description  
Exclusive "Yes" or "No"
SourceDB A fully qualified path to a directory containing zero or more free tables, or the absolute path and file name for a database.
SourceType "DBC" or "DBF"
Version  

If the data source name is not specified, the Driver Manager prompts the user for the information (depending on the setting of the fDriverCompletion argument) and then continues. If more information is required, the Visual FoxPro ODBC Driver displays the prompt dialog.

For more information, see SQLDriverConnect in the ODBC Programmer's Reference.