?
Solved

Import .txt to Pdox

Posted on 1997-04-25
2
Medium Priority
?
215 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
[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
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 300 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

Industry Leaders: 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

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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month10 days, 16 hours left to enroll

770 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