Use this AskiaTools feature to merge two questionnaires' data into a single *.QES file. This merge operation will import the secondary *.QES file's data into the primary *.QES file.
To merge two questionnaires' data:
merge menu, select interviews. The following screen appears:.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy8xMTAwLzMzMjkvY2tmaW5kZXIvaW1hZ2VzL2ltYWdlKDE3KS5wbmciLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3NjcyODIwMjR9fX1dfQ__&Signature=BmHlATUtLIW-l4SKeWc9LKgxUbnymCWVdeOzKvkWGQhCosfCfIXWmz5lUnzFIMZOVW6aYP2EnsmF3lEFr5ynrZXwT9cSQJ0Km58sg9ICUP8cEPyj6qK5T9gVMbIhNhxMyShbbB0eXqw1Clma7ri68JoxQDg11FpuJfFi2Iu5FLKHlZjbtrrwM5r8iwvZnWzssvdh5XwxLwNACJPNslQBgIHP51Tuj1pqKuCSnIAaXuVI-bffZZCKirzK8~dUV6BxY4i7eS6h2XJt8DvHaCOakzNHj4Nd3yJG-ZwkHI7AmHuwQK0pZQH-~1oJQndWTu3-XuJjDpf5MiP9G-eOT5OW6w__&Key-Pair-Id=K2TK3EG287XSFC)
OK to carry out the merge.| Option | Description |
|---|---|
|
Askia file |
The Enter the path to the secondary *.QES file, or click Alternatively, click |
| Interviews |
Interviews are read from the QES: interviews will be read from the QES file you specified in Interviews are read from SQL server (legacy format): interviews will be read from a SQL server database in the old, multiple-table format (using the connection you enter in Interviews are read from SQL server (new format): interviews will be read from a SQL server database in the new, single-table format (using the connection you enter in Interviews are read from an inverted database: interviews will be read from an inverted file, as specified in Interviews are in a web-table: interviews will be read from a web table specified in |
|
Connection to the survey DB |
This option is available only if you select one of the ;DSN=BDDASKIA |
| Connection to the WebProd DB | This option appears only if you select interviews are in a web-table in interviews, above. Enter the SQL connection string to the database here. |
|
Survey ID |
This option is available only if you select one of the |
| Web table | This option appears only if you select interviews are in a web-table in interviews, above. Enter the name of the table here (to identify the table from which you are extracting the data). |
|
Merge type |
Select as appropriate:
|
|
Delete interview once copied |
Select this option if you want the imported interview to be deleted from the secondary *.QES file once it has been copied to the primary *.QES file. |
|
Identifiers |
Select as appropriate:
|
|
Import completes only |
Select this option if you want to import completed interviews only. |
|
Interview started after |
Allows you to import only those interviews that were begun after the specified date. You can, therefore, use this feature to import new data that has been collected since a previous import operation. |
|
Additional filter |
Allows you to specify a custom data filter by defining an AskiaScript condition. Click |
If you are reading data from a SQL table, you will be asked to provide details in the tasks dialog, as follows:
| Option | Description |
|---|---|
|
Connection to AskiaField database |
Enter the SQL connection string to the call centre database here. |
|
Surveys |
Once you have entered the connection string in |
| Askia file | Click ... and select the QES file associated with this survey. |
| Connection to surveys database |
Enter the SQL connection string to the surveys database here from which you will be extracting data, in the following format: ;DSN=BDDASKIA; |
| Survey ID |
Enter the unique survey identification number here. |
| Interviews storage |
Interviews are read from the QES: interviews will be read from a QES file. Interviews are read from SQL server (legacy format): interviews will be read from a SQL table (in the old format with multiple tables per survey). Interviews are read from SQL server (new format): interviews will be read from a SQL table (in the new, single-table format). |