Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

select statement refers to the wrong datasource

I used the connect wizard to make a connect statement:

OLEDB CONNECT TO [Provider=SQLOLEDB.1;Persist Security Info=True;User ID=user;Initial Catalog=DATABASE;Data Source=SQL;

Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=SQL;Use Encryption for Data=False;Tag with column collation when possible=False] (XPassword is cHIOMSFPOTLA);

When I use the Select button to select tables this works the first time. But when I save and close the script, open it again, and then use the select button to select tables the program suddenly refers to another datasource (server). This is the datasource I used when I created the script for test purposes. The weird thing is that I don't have that datasource in my script anymore. Am I forgetting something?

1 Reply

Re: select statement refers to the wrong datasource

At the end of the query Applies the "Disconnect". might please the connection is still alive

Community Browser