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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Connection to SQLServer in macro

I have moved data from Access to a MS SQLServer and can easily get in contact with the data in the script writing

ODBC CONNECT TO SQLServer;

Load FIELD;

SQL Select SUM FROM KirKliniskeData."Score_mdb".TABLE

Question:

How can I set up a connection updating the table in the macro ??

set oconn = CreateObject("ADODB.Connection")

oconn.open ????

UpdateString = "INSERT INTO TABLE SUM VALUES (' '" & xSUM & " ' ) "

when I get the Connection string right, I think the Dynamic Upload command will also work as in previous access connection

Thanks for any help

Einar

0 Replies