variable for import field number loop
Jeff Harrison
jeffaharrison at yahoo.com
Thu Mar 13 10:18:18 PDT 2008
--- Scott Nelson <scott at logicdatasystems.com> wrote:
> Is there a way to use a variable to count through
> the field numbers on
> an import? Such as
>
> :import new = importfile r=\n f=;
>
> :x(2,.0)="1"
>
> :aa=new(x); gosub dothis; etc
>
>
> There are hundreds of fields in each line and I
> would prefer not to do:
>
> if: x eq "1"
> then: aa=new(1)
>
> and so on.
>
>
> Scott
>
No, filepro doesn't allow you to use a variable to
reference the imported fields. That is a main reason
that I wrote JHIimport. JHImport gives you a visual
interface to do the import that is similar to
importing a text file into an Excel spreadsheet. Once
it collects the appropriate information it writes a
processing table to perform the import, and then
imports the data.
Jeff Harrison
jeffaharrison at yahoo.com
Author of JHExport and JHImport. The fastest and
easiest ways to generate filepro exports and imports.
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
More information about the Filepro-list
mailing list