home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!gumby!wupost!csus.edu!netcom.com!aahz
- From: aahz@netcom.com (Mean Green Dancing Machine)
- Subject: Re: Paradox 4.0 and ASCII delimted files
- Message-ID: <1992Nov20.193019.22576@netcom.com>
- Organization: Don't blame me, I voted for Bill 'n' Opus
- References: <9973@blue.cis.pitt.edu.UUCP>
- Date: Fri, 20 Nov 1992 19:30:19 GMT
- Lines: 25
-
- In article <9973@blue.cis.pitt.edu.UUCP> field@cs.pitt.edu (Brian Field) writes:
- >
- >I've recently started moving ASCII delimited files into Paradox 4.0. I have
- >many different files that I need to get into Paradox. Now the Import/ASCII
- >Delimited option works great except that the field names are "Field-1",
- >"Field-2", ...etc., Is there a way to get Paradox to interpret the first
- >row in the ASCII file to be the field name? Even better if I could specify
- >it's type as well.
- >
- >Other alternatives welcome. I would prefer *not* to define the tables in
- >Paradox in advance, and then append, since some of the tables field
- >number/types may still change.
-
- Your best bet is to create *two* ASCII-delimited files, one with the
- other data, and the other with the structure. Write a PAL script to
- import the structure file, create the appropriate table, the Import |
- AppendDelimited the data file.
- --
- --- Aahz (the *other* Dan Bernstein)
- @netcom.com
-
- Hugs and backrubs -- I break Rule 6
-
- Trying to be happy is like trying to build a machine for which the only
- specification is that it should run noiselessly.
-