19 Replies Latest reply: Oct 3, 2012 11:10 AM by Inna Shnaiderman RSS

    For Each loop for finding text file names

      Hi all,

       

      I have a scenario whereby the transactions is exported to a text file on a daily basis due to the volume of transaction lines.

      I am trying to create a for each loop whereby I can find all the text files and load these files into the transaction qvd.

       

      The file name format is tran_dd_mm_yyyy.txt. So today's file will be tran_06_09_2011.txt

       

      I was thinking of using the filebasename to determine the filename to load but my file name is dynamic, is their anybody who can maybe help.

       

      Regards

      Jimmy