Using Connection Strings

You can use a connection string to connect to a Visual FoxPro data source.

For example, to connect to the TasTrade data source and override the current setting of Exclusive associated with the data source, you would use the string:

DSN=TasTrade;Exclusive=Yes  

For a list of the attribute keywords and values you can include in the connection string, see SQLDriverConnect.

For a complete explanation of connection string syntax, see SQLBrowseConnect in the ODBC Programmer's Reference.