Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ASCII 2 DBASE or string conversion

Posted on 1997-11-26
1
Medium Priority
?
217 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 20 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

671 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