Michael,
If you know how to create and play a script in Paradox, this will work
for you.
Step 1: use Tools, Import, ASCII, Text, NameOfTextFile, name the Table "Temp"
Paradox will automatically call the field [Text],
and the table will only contain the one field.
Step 2: Modify, Restructure, "Temp" - add 3 new fields type A10, A20, N (I
called these new fields First, Second, and Third, as indicated below
in the script)
Step 3: Script, Play, Convert (the name you gave the script below)
THE SCRIPT STARTS HERE:
-----------cut here----------------
EDIT "TEMP" ; Edit a Table called TEMP
SCAN
;Now, MATCH a field named Text for the following scenaro.
x=MATCH ([Text], ".. .. ..", a, b, c) ;NOTE the 3 spaces between ..'s
SWITCH
CASE x : [First]=a
[Second]=b
[Third]=NUMVAL(c)
ENDSWITCH
ENDSCAN
DO_IT!
-----------cut here-------------------
I tested this on a text file with the following info, and it worked.
xxxxxxxxxx yyyyyyyyyyyyyyyyyyyy 1234.567
zzzzzzzzzz wwwwwwwwwwwwwwwwwwww 888888.88
Hope its answers your problem.
Katie
---
* RM 1.3 02438 *
--- FidoPCB v1.5 beta-'j'
---------------
* Origin: MercOpus * Internet FTP/Archie/News * 813-321-0734 (1:3603/10)
|