Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Help: How to automatically grab new files from a folder

Hello All,

     right now my company is saving our daily reports in a folder and it's updated daily with new reports added in as new files.

     so if i am trying to grab every files in this folder automatically,how do i do it?

1 Solution

Accepted Solutions

Re: Help: How to automatically grab new files from a folder

Your files must have the same structure, in this case you can use a loop:

let

path = '..\..\MyDir\*.*';



for Each File in FileList (path)



margin_tmp:

LOAD

     ....

     fields

     ....
FROM

$(File) (ooxml, embedded labels, table is [MySheet]);

NEXT

2 Replies

Re: Help: How to automatically grab new files from a folder

Your files must have the same structure, in this case you can use a loop:

let

path = '..\..\MyDir\*.*';



for Each File in FileList (path)



margin_tmp:

LOAD

     ....

     fields

     ....
FROM

$(File) (ooxml, embedded labels, table is [MySheet]);

NEXT

Not applicable

Re: Help: How to automatically grab new files from a folder

sweet!!!! THANK YOU SO MUCH  Alexandros!!!

Community Browser