Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Checking the Connectivity setting

Hello,

When we are connecting Qlikview with Smart DB ,how can we check the connectivity whether it is working fine or not.

2 Replies
buzzy996
Master II
Master II

there are couple of ways,

1.at the time of creating connection string u could be enter username and password of ur db and click on test button,that helps whether u will able to connect ur db or not.

2.if u already created connection string,then try to pull some data,if u are able to see data on ur qv app..it's connecting else no.

hope helps.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

If you want to check for connection errors at script execution time, you can set the ErrorMode variable to 0 and check for any ScriptError values different from 0. For example,

SET ErrorMode = 0;

OLEDB CONNECT YourConnectionParameters;

IF ScriptError <> 0 THEN

// Do something with this error condition

END IF

SET ErrorMode = 1;

See also the Error Variables chapter in QV Desktop Help.

Best,

Peter