variables for import fields

Ryan Powers ryanx at indy.rr.com
Thu Sep 20 09:23:59 PDT 2012


> First load all the csv data into an array and then work on the array.
> You can use a simple loop to do this.

That wouldn't work either. I only have about 35 fields to deal with so I've
done it the hard way, though it would be nice to do it dynamically in case
things change; in which case I wouldn't have to change the code.

Whether a variable or an array of variables it doesn't matter because what I
am trying to hold is the field number and use that as an offset into a
lookup. I think that would be a great new feature. You could have a csv with
any number or order of fields, and with a companion foo.metadata.csv which
lists the field numbers. 

If that is not possible, I was wondering if one could write a prc on the fly
from an external application and handle it that way. 

---
Ryan Powers
Bulldog Software, Inc.
http://www.bulldogsoftware.com







More information about the Filepro-list mailing list