Connecting to Cin7 Core from QlikView using ODBC Driver for Cin7 Core
This tutorial describes how to connect and configure QlikView to retrieve data from Cin7 Core for further analysis. QlikView is a data visualization tool that connects and pulls data from different popular databases like MySQL, MongoDB, Oracle, SQL Server, Postgres, etc. to present it in a single view. The business intelligence platform identifies relationships in your data and discovers patterns and opportunities to support your decision making.
QlikView supports the ODBC connectivity interface for communication with external data sources. An ODBC data source must be configured for the database you want to access. You can create an ODBC connection using a DSN during the ODBC driver installation or later.
To connect to an ODBC data source from QlikView using our driver for Cin7 Core, perform the steps below:
- Open the QlikView client application and click File > New. Close the Getting Started wizard and open File > Edit Script (CTRL+E).
![QlikView Edit Script](qlikview_edit_script.png)
- In the Data tab, choose ODBC from the Database drop-down and click Connect. Select the Data Source you created earlier, type in the User ID and Password if your database is password-protected. You can test the connection by choosing Test Connection. The Connection Test succeeded message should appear. Click OK to connect to your data source.
![QlikView Connect Data Source](qlikview_connect_odbc_data_source.png)
- To retrieve the data from your data source, you can enter an SQL query and press F5. You will be suggested to choose fields to be displayed.
![QlikView Run Query](qlikview_run_query.png)
![QlikView Select Fields](qlikview_select_fields.png)
- Alternatively, you can click Select, and QlikView will show you the database structure window where you can compose a SELECT statement for the data to be fetched. You can choose a different database from the database drop-down list. Select the necessary tables and fields. You can retrieve date from multiple tables and fields by selecting them and clicking Add. When you are ready with your SELECT statement, click OK. You will get back to the main script editor with your SQL statement. Press F5 to execute the script and select the fields to be displayed in QlikView.
![](qlikview_create_sql_statement.png)
- Once the data has been fetched, you can choose a table layout to present the data in a table. Choose Layout > New Sheet Object > Table Box. Select the fields to be added to the tablebox and click OK.
![QlikView Table Box](qlikview_table_box.png)
![QlikView ODBC Database](qlikview_odbc_database.png)