Solved

ASCII 2 DBASE or string conversion

Posted on 1997-11-26
1
203 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
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

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

910 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

21 Experts available now in Live!

Get 1:1 Help Now