Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
mhmmd_srf
Creator II
Creator II

ODBC in Local vs Server

Hi All,

If I create OBDC in my local using my personal ID and if the QVW file moves to server where ODBC is configured using System ID, would my file work?

Or I need to create ODBC connection using System ID in my local also.

 

Thanks,

Sarif

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

You will need to create a system DSN, unless the QlikView service account running all QlikView services and your own are one and the same. System DSNs can be accessed by any user logged in.

Practice in many cases is creating two or more variables with the CONNECT statement, one for local and another for the server. Depending on an external factor you can measure in the QlikView script (the computer name, the user running the app, a file) it will use one or the other.

Alternatively, you can create a file named, say, "ODBCConnect.qvs" in each computer the QVW has to be reloaded with the correctly configured CONNECT statement. The script will refer to this file using $(Include=) and will always get the correct connection string.

View solution in original post

1 Reply
Miguel_Angel_Baeyens

You will need to create a system DSN, unless the QlikView service account running all QlikView services and your own are one and the same. System DSNs can be accessed by any user logged in.

Practice in many cases is creating two or more variables with the CONNECT statement, one for local and another for the server. Depending on an external factor you can measure in the QlikView script (the computer name, the user running the app, a file) it will use one or the other.

Alternatively, you can create a file named, say, "ODBCConnect.qvs" in each computer the QVW has to be reloaded with the correctly configured CONNECT statement. The script will refer to this file using $(Include=) and will always get the correct connection string.