Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

FileTime not a valid function

I'm trying to see if a qvw file exists in an enable condition for a button, and qlikview is telling me that "FILETIME is not a valid function".  What am I doing wrong? Here's my condition:

FileTime('..\..\PROJECT_04_Enroll_Growth_Tracking\04_App\Enroll_Growth_Tracking.qvw') > 0

I also put the expression into a text object, and get the same error.

1 Solution

Accepted Solutions
micheledenardi
Specialist II
Specialist II

All file funcions (FileTime(), FileSize(), FileName(), FileDir()....) are script-only functions.

So only during the document reload you can check if a file exists.

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

2 Replies
micheledenardi
Specialist II
Specialist II

All file funcions (FileTime(), FileSize(), FileName(), FileDir()....) are script-only functions.

So only during the document reload you can check if a file exists.

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
Anonymous
Not applicable
Author

Well, balls! 😕