PointsWell Is there a way to list the contents of a file directory? I’d like to import CSV files with as generic a process as possible but would need to be able to read the contents of the directory.
ACDC This could work for you: CREATE ImportObject FOR EACH FILE IN C:\FolderName WITH Object.DocumentAttr=File and then run your import process using the discovered Filename in the object Also remember to delete the file at the end of process Anthony
PointsWell ACDC wroteThis could work for you: CREATE ImportObject FOR EACH FILE IN C:\FolderName WITH Object.DocumentAttr=File and then run your import process using the discovered Filename in the object Also remember to delete the file at the end of process Anthony Thanks! Didn't think of that. Have found a use for EXEC_STRING finally as well