Solved

how to select deleted record from .dbf in ADO?

Posted on 2002-04-24
4
619 Views
Last Modified: 2013-11-24
in DAO *.INI file:
[dBase ISAM]
Deleted=Off
but i don't know in ADO?


0
Comment
Question by:senucarthur
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 80 total points
ID: 6967949
It would normally be a case of including "Deleted=0;" in your ADO connection string. For example:

Dim cnnDBase As ADODB.Connection
Set cnnDBase = New ADODB.Connection
cnnDBase.ConnectionString = "Provider=MSDASQL.1;Persist Security Info=False;Extended Properties=CollatingSequence=ASCII;DefaultDir=C:\Program Files\Microsoft Visual Studio\VB98;Deleted=0;Driver={Microsoft dBase Driver (*.dbf)};DriverId=533;FIL=dBase 5.0;MaxBufferSize=2048;MaxScanRows=8;PageTimeout=600;SafeTransactions=0;Statistics=0;Threads=3;UID=admin;UserCommitSync=Yes;Initial Catalog=C:\Program Files\Microsoft Visual Studio\VB98
"
0
 

Author Comment

by:senucarthur
ID: 6970223
that's nice,thank you.
for more question:
how can I import .DBF data including deleted records into access?
now I insert the records into table one by one.this is not good.
help me,please.
0
 

Author Comment

by:senucarthur
ID: 6970234
please tell me where is any document like above ConnectionString's parameters.
0
 

Author Comment

by:senucarthur
ID: 6970611
I know the query in access:
select * into test from [dBase IV;DataBase=C:\test].test.dbf.
but in the table there are not any deleted records of .DBF file.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question