When you select ODBC query as the import type, data is imported from an external database such as an *.mdb file.

Set the options as follows:
Database DSN: you can enter a DSN, or an ADO string. Using an ADO string allows you to deploy your survey on CATI, CAPI Windows or web server without creating a DSN on each machine. Here is a typical SQL ADO connection string you can use in your questionnaire:
Provider=sqloledb; Data Source=[Your SQL Server]; Initial Catalog=[SQL Database you want to use];Trusted_Connection=no;User Id=[SQL Login];Password=[SQL Login Password]
For example:
Provider=Microsoft.Jet.OLEDB.4.0;data source=C:QesMyDatabase.mdb;
If you are using a Microsoft Access database, you can set an ADO string as follows:
Provider= Microsoft.Jet.OLEDB.4.0;Data Source=c:Database1.mdb
If your Access database is protected by a password, then, you need to provide the password in the connection string, for example:
Provider= Microsoft.Jet.OLEDB.4.0;Data Source=c:Database1.mdb;Jet OLEDB:Database Password=askia;
Note: Your SQL query should be structured in the following way:
SELECT [field] FROM [table] WHERE [condition]
The different values that you can use in your SQL queries are:
Make the question invisible when imported: select this option if you want the ability to ask the question even when it has not been specified in the received link.