Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
nilesh_gangurde
Partner - Specialist
Partner - Specialist

if isnull(QvdCreateTime('$(vQVDPath)$(vTableName).qvd')) then

Hii All,

let vQVDPath = ../Qvds/;

let vTableName = TABLENAME;

I am geting the Error because of "if isnull(QvdCreateTime('$(vQVDPath)$(vTableName).qvd')) then" is not working properly.

when i execute the script Qlikview is not identifying that Qvd is present or not.

if qvd is present then idealy it should go for "Else" but in my some of the Exractor its excecuting the "If" part only which is wrong.

guide how to tackel the same.

-Nilesh

3 Replies
nilesh_gangurde
Partner - Specialist
Partner - Specialist
Author

Hii,

This is the Increamental load Script.

the above error is affecting the Increamental load of DATA.

-Nilesh

kumarnatarajan
Partner - Specialist
Partner - Specialist

Hi,

Put your variables in string format (single quotes is missing). Condition is right. See below mentioned syntex.

Ex:

LET vQVDPath='..\Data Sources\';

LET vTableName='Employee';

LET vTime=QvdCreateTime('$(vQVDPath)$(vTableName).qvd');


if isnull(QvdCreateTime('$(vQVDPath)$(vTableName).qvd'))  then


SET vTesrt=1;


ENDIF;

nilesh_gangurde
Partner - Specialist
Partner - Specialist
Author

Yes,

but its woking properly for some Exractor without string format.

-Nilesh