I am trying to save files in a loop and save the file name in an iteration like 1,2,3,4,5. Im not sure what I’m doing wrong because it saves every file as “Buyer Side 1”. Do I have currentBatch + 1 in the wrong place?
(BuyerFileName = “Buyer Side” + currentBatch.ToString)