Solved

I would like to parse a DBF file via Delphi XE5 can anyone help me?

Posted on 2014-12-17
7
343 Views
Last Modified: 2015-10-23
i have uploaded the files

http://www.rekettyei.hu/files/dbf/

there is a DBT too, how can link that too?
regards
Tamas
0
Comment
Question by:RT_
7 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 40504609
What do you mean by parsing the file?

DBF and DBT files are associated with FoxPro.  To properly look at them you need FoxPro.

Are you trying to understand the structure of the file or do you just want to see the data in the file?

mlmcc
0
 

Author Comment

by:RT_
ID: 40504625
i would like to see the data in the file. need to get it into a stringgrid
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 40504634
I recommend you use FoxPro.  I believe it comes with Visual Studio.  I don't know much more than that about how to use it.

mlmcc
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:RT_
ID: 40504729
i am looking for a code example
0
 
LVL 26

Expert Comment

by:Sinisa Vuk
ID: 40504780
dbf file is DBaseIII file and according to: http://en.wikipedia.org/wiki/DBase - dbt is extension of dbf (large memo text).
So add odbc alias in odbc configuration tool (Odbc data sources) width driver:
Microsoft Access DBase driver (*.dbf, ...) and set foder where both filres are.
In Delphi app - use simple ado components connected to that odbc alias.
0
 
LVL 37

Accepted Solution

by:
Geert Gruwez earned 500 total points
ID: 40523376
you want to parse the DBF files ?
like reading the header, evaluating the info, etc, etc ... or

you want to extract the data ?
and import it into a rdbms system ?

if the latter, just install the BDE and use TTable components to read the data
some rdbms systems have tools for importing data from other database formats like DBase

or do you really want to maintain the DBF files ?
0
 

Expert Comment

by:scox12
ID: 41098797
A third party commercial package that I've used since 1985 is Topaz by Software Science at http://www.softsci.com/ .  Works, has loads of features and emulates dBase within a Pascal context.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
copyEndy  challenge 15 84
splitOdd10 challenge 5 74
base64 decode encode 12 119
Problem to page 4 71
Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

914 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now