Solved

Import .txt to Pdox

Posted on 1997-04-25
2
201 Views
Last Modified: 2010-04-04
I'm trying to import an ascii text file to a Pdox table.  I've set up a schema file for the .txt file and am using batchmove to populate the Pdox table.  Each line of my .txt file is around 160 characters (so several fields in the schema file have an offset value greater than 99) however the schema file seems to accept a max offset value of only 99.  After the procedure executes, my Pdox table only has values for the fields that had an offset of 99 or less.  I know there are other ways to accomplish this like parsing the line, but I want to use batchmove.  Is there any way to get the procedure to recognize offsets greater than 99?  By the way I am using Builder C++ but is should be the same in Delphi.
0
Comment
Question by:msmith042597
2 Comments
 

Expert Comment

by:msnell
ID: 1335729
You could try using DBCvt (find it on the Delpi Super Site,
sunsite.icm.edu.pl), but I think it is for Delphi 2.0 only at
this stage
0
 

Accepted Solution

by:
Robert Gilland earned 100 total points
ID: 1335730
I have written a "C" program that does exactly
above except it imports into a DBase Table
It is available on the net at
http://www.ecn.net.au/~rgilland/burns.html

as a file named "Report.zip" It can even accept multiline data
for each record.


0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi selector screen 2 78
Can Viruses spread while transferring files via FTP protocol to unshared NAS drives ? 6 94
oracle global variables 4 68
update joined tables 2 45
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

813 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

19 Experts available now in Live!

Get 1:1 Help Now