Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connect to Fox Pro db?

Status
Not open for further replies.

savok

Technical User
Jan 11, 2001
303
0
0
AT
Can someone post an example of how to connect to a foxpro database?

this is how i do it with access, how would it work this foxpro? thanks

Dim Conn As New ADODB.Connection
Conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Phase3.mdb;Persist Security Info=False;"
Conn.Open

 
Here's a page with a ton of examples of all sorts of dsn-less connection strings (including FoxPro)


good luck! :)
Paul Prewett
penny.gif
penny.gif
 
Try this:

"Provider=MSDASQL.1;Extended Properties=DSN=Visual FoxPro Database;SourceDB=g:\MyFolder\MyVFPDatabase.dbc;SourceType=DBC;Exclusive=No"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top