This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
Setting up the Questionnaire for a Mailmerge
If you are producing a printed questionnaire for known respondents, you can set up Snap to insert the respondents' names and addresses on the front page of the questionnaire, and then mail them directly. You need to have a database set up with the names and addresses of respondents beforehand. Each address line must be in a different field.
A webinar describing printing user IDs on surveys for scanning is also available.
Once the respondents have completed and returned the questionnaire, their relevant details can then be keyed into Snap. Subsequently, cases can be matched with records from the external database for the import of other personal information.
To set up the questionnaire for a mailmerge you must:
- Create open-ended questions for the name and address lines.
- Create a new style for these questions so it places them in the correct position on the page.
- Create a link to the database holding your respondents' names and addresses
- Select the link in in mode and print the questionnaire
Adding the space for the respondent's name
- Open the survey in Design mode and create a new question below the subtitle.
- Type "Name:" in the area marked "Click here for text". (This is only used for reference while creating the style.)
- Click
or press [Alt]+[Enter] to open the dialog.
- Change the question property to "Name" and click. The word "Name" now appears in place of the question number.
Set the style to position the space for the respondent's name
- Select the Name question you have just created.
- Move the code box to the right of the question by selecting in the toolbar topic list. Set the question to .

- Select from the drop-down list and set it to . Set the number of columns to , if it is set differently.

- Select in the toolbar topics, and then select in the drop-down list. Set the tab value to 0%. The space for the question text disappears, but that is fine, as it will be hidden. (The tab value sets the space reserved for text. You can move the response box to the right by increasing this value.)

- Select in the toolbar topics and then select and in the drop down lists.
- Use + to expand the response box until it is large enough for your address lines.
- Select from the toolbar topics drop-down list and uncheck the boxes for and .
- With selected, select in the drop-down list, and set the to 0.01cm. This specifies the gap between the lines of the address. You may need to set this to 0, or hide this space completely.

- Select in the toolbar topics, and then select in the drop-down list. Set all the margin values to 0. This specifies the space between the box and the response data.

- Click
or press + to go to mode. - Click
to go to the . The style you have been working on will be selected in the left pane. - Click
and type "Address line" in the field then click. This creates a new style called "Address line", containing your changes. - Click to close the . Click
or type+ to go back to mode.
Create the address in your new style
- Select the Name question that you have just inserted. Look at the box. If your new style is not selected, select it to apply it to the Name question.
- Press to create a new question. It is automatically created in Address Line style.
- Click the Properties button
and change the question property to "Address_1" and click. - Repeat to create variables for the maximum number of address lines stored in your database. The example shows Address_1, Address_2, Town, Post_zip_code. Note that no spaces can be used in variable names.
- Change to mode (press + or click
) and remove the boxes from the Address line style. While they make it easy to locate the variables in the questionnaire, they do not improve the look of the printed address.Select in the toolbar topics, and then select in the drop-down list.
The questionnaire now appears to have a blank area where the address variables are.
- Click
to save your changes.
Connect to your database of names and addresses
- Select to display the dialog and click .

- The dialog is displayed. Select the option and click .
- Click and browse to the file containing the respondent data. (If the file is of an unrecognised type, you can identify it to Snap using the button.)
- Select the table to use and click. (If you do not wish to import details for all the respondents in the file, you can set a filter here.)
- The dialog displays a list of. Select . This option imports new cases from the database and appends them to the existing cases in the database. If you already have cases in your survey, you could select a different option so identical cases were not imported.

- The next dialog allows you to map the fields in the database to the fields in the questionnaire. Select the Snap field in the right-hand column that the data will be imported into until you have set up all the name and address fields. Click .

- A summary of your database link will be displayed. Change the name of the link to M and click
- Click to close the window.
Printing the questionnaires with the name and address information
- Change to mode by clicking
on the questionnaire window toolbar, or pressing + + . - Select (to show the people you have just added from the database) from the dropdown list. Select the database link.

- Click to display the questionnaire with the panel data included.
- Click the Print preview button
.- If you are happy with your questionnaire, select the radio button and click.
- If you need to make any changes select from the dialog. Change to mode and make any adjustments needed to the style. (Changes you make to the style in Style mode will apply to all uses of that style) Then return to mode to print.
You must print from mode to include the imported panel data. If you print or publish from anywhere else, you will simply print out the empty questionnaire.
If you are printing a questionnaire for scanning, you must print the code boxes. Select to open the dialog. Clear the option. The box outlines will then be shown on the printed sheet.