Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Try:
let vScriptErrorList=ScriptErrorList; // wihout '#' and '$'
Thank you so much!!! It worked.....a bad miss from my side
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)