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!

Using .DBC files

Status
Not open for further replies.

omegabeta

Programmer
Aug 20, 2003
148
0
0
RO
I have the following code:
Set Conn1 = Server.CreateObject("ADODB.Connection")
Conn1.Open "Driver={Microsoft Visual FoxPro Driver};" & _
"SourceType=DBC;" & _
"SourceDB=c:\inetpub\ & _
"Exclusive=No"
sql = "SELECT * FROM table1"
set RS1 = Conn1.Execute(sql)

I get this error message:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Visual FoxPro Driver]Cannot open file c:\inetpub\
So I can open only .dbf the file Table1.dbf is it exists.
If the table1 is included in myDB.dbc, I cannot access it.

Can someone give me a tip ?
 
I work on WinNT workstation with PWS installed and have Administrator privilege.

What can I do ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top