Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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.
DEV is a file. It has not extension.