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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
srinivasa1
Creator II
Creator II

ScriptErrorDetails

Hi,

My script as  bellow..

Test:
LOAD
@1,
     @2
FROM
U:\QlikView\Monitor Dashboard\Email Notification Test\Email test 0720\Email test 0721\test.txt.txt
(txt, codepage is 1252, no labels, delimiter is '\t', msq);

vErrorType=ScriptError;

vErrordetail=ScriptErrorDetails;//Pls check latter for Value not assigning  properly


vErrordetail=ScriptErrorList ;


if ScriptErrorCount=0 then  //If Script Executed successfully!
//set vError=0;

Store Test into U:\QlikView\Monitor Dashboard\Email Notification Test\Email test 0720\Email test 0721\Error.qvd;

ELSE //If Script not executed successfully!

Set  vError=1;
exit script;
end if

Above script  im not able access this inside vb script  as ScriptErrorDetails value become null.. how i can store this value in variable so i can  call this in macro..

Macro Vb script as bellow for call that Error

Set vErrType=ActiveDocument.Variables("vErrordetail")

Thanks in advance.

12 Replies
erichshiino
Partner - Master
Partner - Master

Can you see something in the variable using the variable overview window?

Is your result similar to this post?

http://community.qlik.com/message/114781#114781

regards,

Erich

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

    Can you please  describe what are you trying to do and what you want.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
srinivasa1
Creator II
Creator II
Author

Hi

Sorry for late reply as i was bit bussy.  my pbm similer as bellow post.

http://community.qlik.com/message/114781#114781

Thank you.