Solved

Import .txt to Pdox

Posted on 1997-04-25
2
187 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
Comment Utility
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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

17 Experts available now in Live!

Get 1:1 Help Now