Solved

ASCII 2 DBASE or string conversion

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

Suggested Solutions

Title # Comments Views Activity
control image tags in a string ? 12 154
JAudiorecorder record freezing the app 29 83
CheckListBox usage 3 83
shape, triangle, dbctrlgrid 3 33
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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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