Just working on your question... i have one of my own, are you trying to use a field from the record you are inputting in the file name?
I need to know because it will govern how the code is written.
Dave - MAD
nil illegitimi carborundum
Semper in excreta, sumus solum profundum variat