The Precision Report feature gives you an additional set of tools that make it easy to control the precise placement of objects and data in the report output. For example, with a precision report, you can quickly create a layout that is perfectly aligned for a preprinted form (such as a Bill of Sale or a tax form) and that automatically breaks out one record per report page.
You can access the Precision Report canvas by converting an existing report or by creating a new precision report.
Note: All of the tabs and panels that you use to develop regular reports are also used in precision reports. The additional tools found in the Precision Report canvas are available only for precision reports.
If the selected procedure was not created with the Report canvas, it will automatically open in the Procedure Viewer. In this case, double-click a report component to open it in the Report canvas.
A style warning message appears, indicating that the report will be converted to a precision report.
Similar to the Object Inspector in the Report canvas, the Precision Report canvas includes a window containing tabs used for creating and building Precision Reports. This window has the Fields, Sort Groups, Properties, and Columns tabs found in the Object Inspector, but also includes the Layers tab and Navigate tab, which are unique to the Precision Report canvas.
By default, the report output is PDF. To change the output format, on the Format tab, in the Output Types group, click Output Format. In the drop-down menu that appears, point to Styled report formats, and click the desired output.
You may edit the report by changing the alignment and position of the objects in the report.
The following conditions apply when converting existing reports to precision reports:
Your report is using a locked format that is not supported by Precision Reports.
In this case, you may want to create a new precision report to replicate the original, using a supported output format.
The Report Wizard opens.
The Report canvas opens.
A style warning message appears, indicating that the report will be converted to a precision report. Click Yes to close the message and open the Precision Report canvas.
In this section: |
The Precision Report canvas Tools tab contains commands that provide quick access to commonly performed functions. This tab is only available when creating Precision Reports. The availability of the commands is context-sensitive to the object that is highlighted in the canvas.
The Tools tab contains the Objects and Default Style groups, as shown in the following image.
The Objects group contains commands to select and add objects to precision reports, as shown in the following image.
The commands are:
Allows you to select (single-click) or edit (double-click) an object.
Tip: Click Select Object after inserting a box, line, image, or text to return to select mode.
Allows you to add a box to the Precision Report canvas. When this command is active, the pointer becomes an arrow with a box . Click the canvas to add a box. You can also drag the pointer on the canvas to create a box in the size that you want.
When you add a box, the Default Style group on the Tools tab becomes active with options to set the pen size, line style, fill color, and line color.
Allows you to add a line to the Precision Report canvas. When this command is active, the pointer becomes an arrow over a line segment . Drag the pointer on the canvas to create a line and adjust it to the size that you want.
When you add a line, the Default Style group on the Tools tab becomes active with options to set the pen size, line style, fill color, and line color.
Allows you to add an image to the Precision Report canvas. When this command is active, the pointer becomes an arrow over a flower . Click the canvas or drag the pointer on the canvas to create a box in the size that you want.
The Open File dialog box opens. Select the desired image and click OK.
Allows you to add text to the Precision Report canvas. When this command is active, the pointer becomes an arrow over a letter T . Click the canvas to add a text box. You can also drag the pointer on the canvas to create a text box in the size that you want.
When you add text, the Default Style group on the Tools tab becomes active with options to set the font, size, color, and formatting.
The Default Style group contains commands and options to customize the box, line, and text objects added to a precision report. The Default Style group is shown in the following image.
Sets the default pen size for box and line objects.
Sets the default line style for box and line objects. The options are Solid, Dotted, and Dashed.
Sets the default color for box, line, and text box objects.
Sets the default fill color for box and text box objects.
Sets the default font type for text boxes. This option is only available for a text box.
Sets the default font size for text boxes. This option is only available for a text box.
Sets bold font formatting as the default for text boxes. This option is only available for a text box.
Sets italic font formatting as the default for text boxes. This option is only available for a text box.
Sets underline font formatting as the default for text boxes. This option is only available for a text box.
Resets the style settings of the selected object to the default, original style.
The alignment commands on the Positioning tab enable you to select multiple objects in the same layer and easily position them relative to one another.
The availability of the commands is context-sensitive to the objects that are selected in the canvas. You cannot select multiple objects in different layers.
The Positioning tab contains the Positioning, Distribution, Options and Composition groups, as shown in the following image.
The Positioning group contains commands to align the objects on the Precision Report canvas, as shown in the following image.
Aligns the selected object to the left of the last object selected.
Aligns the selected object to the right of the last object selected.
Aligns the selected object to the top edge of the last object selected.
Aligns the selected object to the bottom edge of the last object selected.
Makes two or more objects the same width.
Makes two or more objects the same height.
Makes two or more objects the same size.
The Distribution group contains commands to control the spacing on the Precision Report canvas, as shown in the following image.
Sets the horizontal spacing between three or more selected objects to be the same.
Tip: To select multiple objects, use the Shift key.
Sets the vertical spacing between three or more selected objects to be the same.
The Options group contains commands to set grid visibility and ruler options on the Precision Report canvas, as shown in the following image.
Sets grid visibility and snap option.
Sets guide visibility and snap option.
Note: These options are applicable when the page ruler is on.
The Composition group contains commands to name, add, or remove compositions on the Precision Report canvas, as shown in the following image.
Displays a drop-down list of available compositions. You can rename composition names.
Adds a composition. The name of the composition is derived by the system (COMP00).
Deletes a composition.
Reference: |
The Precision Report canvas is characterized by a window containing multiple tabs. Each tab contains tools that enable you to design and create positioned elements for your precision report. The default tabs are:
These tabs are described in the following sections.
By default, the Layers tab consists of the Page, Report Heading, Page Header, Data Matrix, Page Footer, and Report Footing layers, as shown in the following image. You can add additional layers as needed.
The Data Matrix layer inserts a placeholder for the reporting data. You can snap objects (boxes, lines, images, text) to the layout.
The following commands are available on the Layers tab:
Command |
Definition |
---|---|
Shows or hides the selected layer in the Precision Report canvas. |
|
Enables or disables styling changes. |
|
Enables or disables data changes. |
|
Enables or disables all changes. |
|
Creates a new layer for the precision report. |
|
Deletes the selected object or layer. If a layer is deleted, all objects within it are deleted as well. |
|
Moves the selected object up or down in the selected layer. |
You can view and modify the sorting properties of fields in the Data Matrix from the Sort Groups tab in the Precision Report canvas, as shown in the following image.
The Sort Groups tab displays the sorting method being applied to each column in the Data Matrix layer. You can change the sorting method (for example, from By to Across or from Detail to Sum) by using the right-click context tab. The changes are reflected in the Columns and Sort Groups tabs and in the Data Matrix layer.
You can also use the Sort Groups tab to create multi-verb requests.
The icons in the first column to the left of the field name display the type of sort field. The icons and their meanings are defined in the following table:
Icon |
Definition |
---|---|
Across field. |
|
By field. |
|
Sum field. |
|
Detail field. |
|
For field. |
You can view and modify the columns in the Data Matrix layer from the Columns tab in the Precision Report canvas, as shown in the following image.
Right-click a column and select Options from the context tab to open the Field Properties dialog box, where you can format and style the column, as well as apply drill down capabilities. Any changes made to the column properties are reflected in the Data Matrix layer.
You can view the fields used in the Data Matrix layer as a:
To change the view, right-click in the Fields tab and choose the view from the shortcut menu.
You can double-click or drag segments or fields from this tab to the Precision Report canvas, where they become report columns.
You can customize how you view the fields list and save your settings. Right-click in the Fields tab and select one of the Save Settings options from the shortcut menu.
You can also search for fields in the fields list. Right-click in the Fields tab and select Find Item from the shortcut menu.
The Properties tab displays attributes and their editable values, grouped by category, as shown in the following image.
You may view the entire layout of the Precision Report in the Navigate tab.
How to: |
Precision reports are created in the Precision Report canvas by using the Data Matrix layer as the reporting object, and by inserting objects in the other layers as fields.
The Report Wizard opens.
The Report canvas opens.
A style warning message appears, indicating that the report will be converted to a precision report. Click Yes to close the message and open the Precision Report canvas.
Once the precision report has been built in the Data Matrix layer, you may design the page layout using the Page layer. Objects you add to the page layer appear on each page of the report at run time. You may add a box, line, or image to the page layer.
You can begin this procedure by opening the report you saved from the previous procedure How to Build a Report in the Data Matrix Layer.
The pointer changes to an arrow over a line segment .
Change the line color and style on the Tools tab, in the Default Style group.
Tip: After the line object has been added to the page layer, you may use the Properties tab to change the appearance of the line.
The pointer changes to an arrow over a flower .
The Open File dialog appears.
The image appears on the page. Resize it as needed.
Note: You can click Select Object to toggle off the Add Image.
As objects are added to the page layout, they appear under the Page layers.
When you run the report, the items added to the page layer appear on every page of the report output.
Once the precision report has been built in the Data Matrix layer, you may add Heading and Footing objects as placeholders for fields on your form.
You can begin this procedure by opening the report you saved from the previous procedure How to Design the Page Layout for Precision Reports.
The pointer changes to an arrow over a box .
Note: Objects snap to the grid for perfect alignment.
Change the color and style of the box on the Tools tab, in the Default Style group.
Tip: After the box object has been added to the page layer, you may use the Properties tab to change the appearance of the box.
As items are added, they appear under the Heading/Footing layers.
Optionally, you can use the Layers tab to move or delete layer objects.
You may embed fields and variables in your Heading/Footing layers as text objects. The precision report retrieves the value for the field when the report is run.
Note: Values for embedded fields are calculated differently in Heading and Footings. Headings use the first value on the page of the report, and Footings use the last value on the page of the report.
You can begin this procedure by opening the report you saved from the previous procedure How to Add Heading or Footing Layers in the Precision Report Layout.
The pointer changes to as an arrow over a letter T .
This includes Report Variables, Computed, and Defined fields.
The field is added to the text object as <FIELDNAME.
Tip: The list of available operators adjusts to show those that are appropriate for the type of field you select.
You can use the Wrap Gap option in a style sheet to control spacing between wrapped lines in PDF and PostScript report output. The Wrap Gap option is available only for an active object of type Data.
You can begin this procedure by opening the report you saved from the previous procedure How to Add Embedded Fields in the Heading/Footing Text Objects.
Type the number of inches to leave between wrapped lines and click OK.
You may run the precision report with different composition templates. Composition templates enable you to run the same precision report with different attribute values.
This can be beneficial if you need to run a precision report with modifications for internal and external use. For example, you have an internal report that shows your trademark image in the Report Heading Layer. You can create a composition template that hides your trademark image for an external customer.
You can begin this procedure by opening the report you saved from the previous procedure How to Control Spacing Between Wrapped Lines.
The composition template is added to the selection list. The template in this example hides the image in the precision report. When the report is run under the DEFAULT template, the image will appear. When it is run under the COMP00 template, the image will not appear.
To delete a composition template, select it from the Composition Name drop-down list and click the Remove Composition command.
After you create a precision report, you may need to edit the formatting of it to fit perfectly on a preprinted form. The Properties tab of the Precision Report canvas makes it easy to fine-tune the output to match your form.
The following example shows how to edit a precision report to match a preprinted form.
Note: Matching output to your preprinted form is an iterative process that will progress through trial and error.
Click Save.
You can edit the numbers to move the region with great accuracy in matching your form.
In addition to the REGION attribute, you can also fine tune the TEXT attribute as described above.