Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

ScriptErrorList in QV Script not showing desired output

Hi,

I am using the script below to get the all the errors in my script.

set vErrorScript=0;
set ErrorMode=0;

load * from abc.qvw;   //this file is not available

load * from bcd.qvw;   //this file is not available

let vScriptErrorList=$(#ScriptErrorList);   // displayed in a text box

The value stored in variable vScriptErrorList gives an output 2.  I was expecting the Error List with concatenated Error Descriptions (as per QV Help).

Could you please help me with ScriptErrorList?

Thanks,

Abhishek

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try:

let vScriptErrorList=ScriptErrorList;         // wihout '#' and '$'

View solution in original post

3 Replies
tresesco
MVP
MVP

Try:

let vScriptErrorList=ScriptErrorList;         // wihout '#' and '$'

Not applicable
Author

Thank you so much!!! It worked.....a bad miss from my side

rubenmarin

If you set the textbox expression as =ScriptErrorList you should see the concatenated error description.

You don't need to assign the ScriptErrorList variable. Probably doing that vScriptErrorList with the '#' is counting the values (only guessing)