Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Log file question

Hello,

I have a question about the log file.  Here are 3 lines I extracted from my log:

4/12/2016 5:30:01 AM: 0048  IF (NOT isNull(qvdCreateTime('..\DEV'))) THEN

4/12/2016 5:30:01 AM: 0051    ODBC CONNECT*XUserId*XPassword*

4/12/2016 5:30:01 AM: 0052  END IF

In my app, I have this code:

SET vDefaultEnv = '..\DEV';

IF (NOT isNull(qvdCreateTime('$(vDefaultEnv)'))) THEN

  $(Include=..\oracle1.qvs);

ELSE

  $(Include=..\oracle12.qvs);

END IF

Just by looking at the log, it almost seems like it executed the IF and not the ELSE.  But based on the result I got, I think executed

the ELSE.  Can someone explain to me what the log means as seen?

Thanks

11 Replies
swuehl
MVP
MVP

QVDCreateTime() is checking for the XML header entry of a QVD file, so probably won't work with other files.

You can use FileTime() instead.

Dathu.qv probably meant to say that your file path used in QVDCreateTime() is not directing to any file, just to a folder.

Anonymous
Not applicable
Author

DEV is a file.  It has not extension.