Solved

ASCII 2 DBASE or string conversion

Posted on 1997-11-26
1
216 Views
Last Modified: 2010-04-04
Hi there....

I've got a slight problem here. When i use an ascii table there is only one field displayed. How is an ascii database file formatted?
How hard is it to convert an ascii record like (1000,"Johnson",14,3,"Boehoehoe" into a dbase file format.
I am using Delphi 2.0

Greetings in advance,
Marcel
0
Comment
Question by:marcelh
[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
1 Comment
 
LVL 1

Accepted Solution

by:
jackb022197 earned 10 total points
ID: 1351968
Drop two TTables/TDatasources on a form. For one TTable set the TableType to ttASCII, for the second set it to ttDBase.
Then use the batchmove component to copy the records.
I used this once to convert a DB app and it worked for me...
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

707 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