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
Solved

Import .txt to Pdox

Posted on 1997-04-25
2
206 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi application Soap connection 5 120
Delphi selector screen 2 84
Strange behavior when a form is closed 6 61
how to send memory stream from ics Client To ics server ? 11 135
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

856 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