Formatting Reports
Building a Report Data Formats Text Formats Adding Headers and Footers Formatting the Title Adding a New Page Adding Graphics Adding Borders Renaming Columns Running a Report in PDF
149
150
ISA Consulting
ISA Consulting
Building a Report
GOAL: To build a report to use in this chapter. STEPS: 1. Start a new List report. 2. Create the following report.
151
152
ISA Consulting
ISA Consulting
Data Formats
Text and data within the report can be formatted to make the report easier to read, or to change to a more commonly used format in your organization's reporting structure. GOAL: To change the Birthdate column to mm/dd/yy format. STEPS: 1. Using the Formatting report, save the report as Date Formatting. 2. Click once in the Birthdate column (not the column heading). 3. In the Properties window, click Data Format. 4. Click the ellipsis (the three little dots).
153
5. Under Format type, click the down arrow and choose Date.
154
ISA Consulting
ISA Consulting
6. Under Properties, click Date Style and to the right, click the down arrow and choose Short.
155
156
ISA Consulting
ISA Consulting
Text Formats
In addition to the data format, the text format of the columns can be changed to make them stand out or to make them easier to read. GOAL: To change the Country name to a bold font style. STEPS: 1. Use the current report. 2. Click once in the Country Description column (not the column heading). 3. In the Properties window, scroll down and click on Font. 4. Click the ellipsis.
157
5. In the Weight column, click Bold. 6. Click OK and Run the report.
158
ISA Consulting
ISA Consulting
159
7. Click OK.
160
ISA Consulting
ISA Consulting
8. Run the report. Notice that each Primary University Affiliation Description group has a header identifying it.
161
162
ISA Consulting
ISA Consulting
4. Click OK.
6. Close the Report Viewer. 7. Click on the text All University Affiliations so that it is selected. (The Properties window should read Text Item in the title bar.)
163
8. In the Properties window, click Font and click the ellipsis. Change Family to Arial, Size to 20pt, and Weight to Bold.
164
ISA Consulting
ISA Consulting
165
5. Click OK.
6. In the Pages window, click the Move Up icon Page1. 7. Click OK.
166
ISA Consulting
ISA Consulting
8. Click the Toolbox tab. 9. Drag and drop the Table into the blank page. 10. For columns, type 1, and for rows, type 3.
167
12. Drag and drop a Text Item into the first row.
13. In the Text window, type Princeton University. 14. Click OK.
168
ISA Consulting
ISA Consulting
Adding Graphics
GOAL: To add a graphic image to the report page STEPS: 1. Drag and drop an Image into the second row. 2. Click the Image placeholder. 3. In the Properties window, click on URL and then click the ellipsis. In the Image URL window, you may type a file name and location of a picture.
Note: You may get an error message if you click Browse. This means that your ReportNet server is not configured to allow directory browsing.
169
6. Go to the http://www.princeton.edu/~oktour/virtualtour and then Launch the Tour. 7. Click on Page 9 and then under More information click on University flag, shield, and motto. 8. Right-click on the shield.
170
ISA Consulting
ISA Consulting
9. Select Properties.
10. In the Properties window, highlight the URL and press Ctrl-C on your keyboard to copy. 11. Click OK. 12. Return to Report Studio 13. Click in the Image URL text area and press Ctrl-V to paste the URL for the shield.
171
14. Click OK. Click outside the table to deselect the shield.
172
ISA Consulting
ISA Consulting
16. Place by your initials in the text field and click OK. 17. Run the report. (Click the Page down link if you want to view the second page that contains the body of the report.)
173
Add Borders
You can add borders to objects in a report such as a column, a header, footer, or to the whole report to improve appearance. GOAL: Add a border to the text object and List report. STEPS: 1. Click on the Table Cell containing the text item with your initials. (The title bar in the Properties window should read Table Cell.) 2. In the Properties window, double-click Border. 3. Set Color to Black, Style to Solid line and Weight to 1 pt. 4. Under Preview, click on the border icon .
174
ISA Consulting
ISA Consulting
Renaming Columns
Change the column heading to provide a more meaningful name. When you add a query item to a report, the query item name is initially used as the column heading. GOAL: Rename the column headings and change the font type in the list report. STEPS: 1. Click the Page Explorer bar. Click on Page 1 to return to the report page.
2. Click the Birthdate column heading. 3. In the Properties window, double-click on Text.
175
176
ISA Consulting
ISA Consulting
5. Click OK.
177
STEPS: 1. Click the arrow next to the Run icon and select Run Report (PDF).
178
ISA Consulting
ISA Consulting
2. The report is shown in PDF format. Click the right-arrow at the bottom of the screen to move to the second page.
179
180
ISA Consulting
ISA Consulting
181
182
ISA Consulting