Editing SQL

Editing SQL is recommended for Advanced Users only.

You can use the Edit SQL dialog box to create and edit SQL statements for mail merge fields. You can use the Edit menu or toolbar to Cut, Copy, Paste, or Delete text. You can also insert parameters into an SQL statement.

To edit an SQL statement

  1. Enter or edit the SELECT statement you want to add to the merge field.
  2. Click in the Edit SQL view where you want to insert the parameter.
  3. Click the Insert Parameter button, or from the Edit menu select Insert Parameter.
    A drop-down menu displays with a list of ParametersClosed that can be added.
  4. Select the parameter you want to insert.
  5. Click OK.

Related Topics

Editing Merge Fields

Editing SQL Text Fields