Discussion Board for collaboration related to QlikView Deployment.
I do a reload if my directory is not empty.
Does anyone have a solution for this?
you could use a for each loop to check if there are files in a folder. From the QV Help, a sample code:
SUB DoDir (Root)
FOR Each Ext in 'qvw', 'qva', 'qvo', 'qvs'
FOR Each File in filelist (Root&' \*.' &Ext)
'$(File)' as Name,
FileSize( '$(File)' ) as Size,
FileTime( '$(File)' ) as FileTime
FOR Each Dir in dirlist (Root&' \*' )
call DoDir (Dir)
CALL DoDir ('C:')
Hope this helps you