If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > can't solve weird ODBC dbase Driver error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-27-02, 11:12
stauf stauf is offline
Registered User
 
Join Date: Mar 2002
Posts: 8
can't solve weird ODBC dbase Driver error

I'm doing queries on .dbf files.
When I have 5 inner join clause
there is this error

-2147467259 (80004005)
[Microsoft][ ODBC dbase Driver ] Unexpected error from external database driver
If I run this query in Acces or in Paradox there's no problem and the data comes out (select statement)

I tried two connection strings
conADO.ConnectionString = "Provider=MSDASQL.1;Persist Security Info=False;Extended Properties=""DSN=dBASE Files;DBQ=" & strDatabaseImos & ";DefaultDir=" & strDatabase & ";DriverId=533;MaxBufferSize=2048;PageTimeout= 5;"" "

and this one
conADO.ConnectionString = "Driver={Microsoft dBASE Driver (*.dbf)}; DriverID=277; Dbq=" & strDatabase & ";"


the same error came out.

I look in google and msdn and find nothing interresting.
Somebody got an idea ? or need more information ?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On