Hi! I'm working with Business Central 19.0 (cloud).
I am trying to import .CSV files with CSVBuffer and UploadIntoStream function.
The problem is that I need upload several files at the same time, one behind the other, but UploadIntoStream just let you choose one file.
I would like to be able to select a location and have all the files processed, it is possible? How?
Thanks
0
Answers
You usually can use an XMLport and set
Format = VariableText;
FieldSeparator = ',';
Encoding = UTF8; //I usually set and save csv files as utf.
then you just do a code loop like: