How to: Format Text in a Text Box (Report Builder 2.0)

You can format any part of the text separately within a text box. This ability to mix formats by adding placeholder text enables you to create mail merges or templates for text in your report. Any expression can be defined and formatted separately using a placeholder.

To combine multiple formats in a text box

  1. On the Insert tab, click Text Box. A text box appears.

  2. Inside the text box, select the text you want to format.

  3. Right-click the selected text, and click Text Properties.

  4. Set formatting options.

  5. Click OK.

  6. Repeat steps 2 through 5 for the remaining text you want to format.

To create a mail merge or template report using fields from your dataset

  1. On the Insert tab, click Text Box. A text box appears.

  2. Type MyField: in the text box.

  3. Drag a field from your dataset into the text box. A placeholder is created for your field.

  4. Double-click the placeholder text, and then click Placeholder Properties.

  5. In Font, select Bold.

  6. Click OK. The string at design time should read, "MyField: [@FieldName]", where FieldName is the name of your field.

  7. Click Preview.

  8. The @FieldName placeholder has been replaced by the value of your field.