text files

How do I convert a text file into a Delphi database???
A *.txt file to a *.db/dbf file.
I'm a beginner in Delphi and I've accessed every possible Delphi book I could lay my hands on, but with no luck.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

One option is to copy the textfile into an Excel-sheet, and there save the file as a Dbase-file.

If not, you could probably make a brand new database, and make some routines for putting data from the textfile into this database.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
What does the text file look like. Can you paste a few lines so we can see what we are up against.

traceysmallAuthor Commented:
Thanks Batalf - I can't believe that I didn't think of that.....
should note that borlands www site has a ti that tells you how to pogrammatically convert a text file to a paradox file, and another on using the ascii bde driver

this from a previous question (hint: the new ee search engine can often save you points :))

If you really want to use a database drive with you .txt file, here is the borland TI explaining the ascii driver:


there is also a TI on converting ascii files to paradox:



It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.