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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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
Partner - Master II
Partner - Master II

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?