Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Script Error

Hi

Could some one help me , What could be the error in the following snippet?

IF(IsNull(QvdCreateTime($(Qvdpath)Roller.qvd))) then

LatestTime:

LOAD max(MODIFIED_DATE) as LastExec FROM $(Qvdpath)Roller.qvd (qvd);

set LastExecTime=peek(LastExec,0,LatestTime);

DROP Table LatestTime;

ENDIF

The code fails when I debug.Any help on this ?

2 Replies
Jason_Michaelides
Luminary Alumni
Luminary Alumni

Try putting the Fieldname and Tablename in single quotes inside the Peek() function:

set LastExecTime=peek('LastExec',0,'LatestTime')

Hope this helps,

Jason

Not applicable
Author

if I degub it there is no error....

are You sure this part of Your script gives error?