importing web forms -
07-08-2005
, 04:11 PM
Hello,
I am trying to create a script to import a batch of web form data (text
files) from a folder. The web form data are the typical:
fieldname: FIELDDATA
fieldname2: FIELDDATA2
....(etc.)
It's easy to write a routine that will parse one of the text files at a
time since each line of text is put in a separate record in the import
table. However, when importing a folder of data, all the text data is
put into one field and strangely all the line feeds (carriage returns)
are seemingly removed from the data.
Does anyone have a hint how to approach this? I have considered doing
two imports, the first to get the paths of each individual file and then
import each file in a loop.
Thanks in advance,
Robert |