#### Step 3: Choose the Report Type

Previous Step

In this step you will add a TextObjControl into your template to define the template as a text report template. This means in Datapage+ that this template will only function in the Text tab; it will not work with the CAD or Chart tabs.

1. From the Controls toolbar, click the TextObjControl icon and then add the control to the canvas.

2. Now we will size the control so it fills up most of the remaining canvas while leaving some space at the bottom for a template footer that we will add later in this tutorial.

3. With TextObjControl0 selected from the canvas, set these properties:

- Left to 30.00

- Top to 145.00

- Width to 760

- Height to 875

Note that this control and then other report type controls acts as a container that Datapage+ will fill up with data. If more data exists than can be displayed within the constraints of this object, then a new pages of the report will be automatically generated using the exact same template.

4. Similar to how you did it in step 1, add a RectangleControl around TextObjControl1. Notice when you add another control of the same type to the canvas that the control is given a unique name by incrementing the number at the end.

5. Set properties to this new rectangle control (RectangleControl2) to the following:

- Left to 30

- Top to 140

- Width to 763

- Height to 885

- BorderBrush to Black

- BorderThickness to 2.00,2.00,2.00,2.00

6. From the main toolbar, click the Save Template icon and save the template in the TemplatesRpts subdirectory where you installed Datapage+. In the Save As dialog box give the template a name of "CustomTextReport". Notice that the ".TxtRpt" filename type is automatically selected because Template Builder automatically detects the type of template. When saved, the name of the template appears in the title bar of Template Builder.

When finished your report template should look something like this:

Template with a TextObjControl

In this step you defined the type of template by adding in a report type control (in this case a TextObjControl). In the next step, you will create a footer for the template.

Next Step