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 > dbf Access

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-22-03, 05:29
bugs bugs is offline
Registered User
 
Join Date: Sep 2003
Posts: 2
dbf Access

I am trying to access a .dbf using visual basic. I use the following code

connDBFFile.ConnectionString = "Provider=Microsoft.Jet.Oledb.4.0;Persist Security Info=False;Data Source=" & _
"C:\" & ";Extended Properties=""DBase IV;"";"

connDBFFile.CursorLocation = adUseClient
connDBFFile.Open


Set rs = New ADODB.Recordset
rs.Open "Test.dbf", connDBFFile, adOpenKeyset, adLockPessimistic, adCmdTable

the code works fine every where but there is huge difference in performance of the same.

If it is used on 98 machine it is very fast and 2000 machines it is very slow, but there are 1 in 20 ms windows 2000 machine where this runs very fast. Can someone suggest the reason
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