Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello qlikers 🙂 ,
I want to check if an excel file exist or not.
LET vExistQVD=isnull(QvdCreateTime('Test/File.qvd')); //works
LET vExistFile = isNull('Test/File.xls'); //works not
The script snippet for check if the qvd exist works, but not the other code snippet.
How can I check if there file exist or not ? Thank you in advance!
Try:
if IsNull(filesize('[lib://Yourdata/YourFile]')) = -1 then
Try:
if IsNull(filesize('[lib://Yourdata/YourFile]')) = -1 then