Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 219
  • Last Modified:

ASCII 2 DBASE or string conversion

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
marcelh
Asked:
marcelh
1 Solution
 
jackb022197Commented:
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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now