Reports 6i Tut
Reports 6i Tut
• A query builder with a visual representation of the specification of SQL statements to obtain report data
• Default report templates and layouts that can be customized to meet your reporting needs
• A Live Pre-viewer that allows you to edit report layouts in WYSIWYG mode
• An integrated chart builder that helps you to graphically represent report data
• Web publishing tools that dynamically generate web pages based on your data
• Other standard report output formats like HTML, PDF, PCL, Postscript, and ASCII
2. Telnet Pegasus by typing telnet pegasus.rutgers.edu or connect to pegasus from the SSH client (make sure X11 Tunneling is
enabled in SSH preferences)
Using Wizards
Report Builder has a Report Wizard, Data Wizard, and Web Wizard to automate the creation of reports. Most often, you can create a report by
starting with one of the wizards, and then refining the report that the wizard creates using the data model view and the layout view.
1. If the Welcome dialog box appears (the following screen), click Use the Report Wizard and click OK.
If the Welcome dialog box does not appear, choose File->New->Report. Click Use the Report Wizard and click OK.
2. You will receive the following screen unless you selected not to display it in the future previously. Click next
3. Select Report type; this will affect report layout. you can see the different layouts by clicking their corresponding buttons and
looking at the sample layout on the left. After you select the type you want click next
4. The data presented in the report is the result of a query. If you are not connected, you need to connect as shown in the following
screen.You can create that query by one of three methods: (1) writing a SELECT statement (2) Building the query using the Query
By Example (QBE) interface, (3) importing the query.
5. Select the fields you would like to display in the report in the order you want as shown in the next screen. Then click next
6. Apply aggregate functions to the fields if you want by selecting the field then the aggregate function. Then click next
7. Change Field names and their width as shown in the next screen then click next
8. Select a template then click next
9. On the last page of the Report Wizard, click Finish.
10. A report is created and appears in the Live Previewer.
11. From the Live Previewer, you can edit the report as desired. Note that the Live Previewer is one of several report views that are
available in the Report Editor. Using the View menu or the toolbar, you can switch to other report views to
Report Editor
In the Report Editor, you can view information about a report in four different ways. You can switch between these views using the View menu
or the toolbar icons. You will work in each of the following Report Editor views as you create the sample reports in this tutorial:
• Live Previewer
• Data Model view
Live Previewer
This view displays your report as the end user will see it. If you are using existing data, the Live Previewer will update the report as data
changes. Any modifications that you make to the report in the Live Previewer are reflected immediately. To display your report in the Live
Previewer, select View menu then Live Previewer.
Conditional Formatting
The Conditional Formatting is a great way to apply formatting exceptions to your layout objects. (For example, you can make a field’s value
Red when it exceeds a specified maximum value). If you are familiar with Excel, there is a similar feature there. The Conditional Formatting
dialog box alone may satisfy your requirements for creating a formatting exception without the need to edit the corresponding trigger.
However, once you directly edit a Format Trigger for an object, you should not go back and use the Conditional Formatting dialog box to make
more modifications.
1. select that item, then select property palate from Tools menu. Or right click that data item and select property palate.
2. Under the general layout section, select Conditional Formatting as show in next screen. you will get the conditional formatting
dialog box.
3. Click New
4. Apply a condition by selecting an operator such as Less than or Between then put the values for the condition. You can have a
complex condition (multiple conditions connected by AND or OR) by clicking radio button in the next line. The AND/OR will be
1. In the Data Model view, click the SQL icon (on the left) then click anywhere inside the data model screen. You will get SQL
Query Statement screen as show below. Write a query or build it by the query builder or import an SQL query from an existing
SQL file.
2. You will get the a drawing representing the query as in the next screen
✓✎ ✮❏ ◗ ❒❅❐❅❁▼ ▼❈❅ ▲❁❍❅ ▲▼❅❐▲ ❁❇❁❉■ ▼❏ ❂◆❉●❄ ❁■❏▼❈❅❒ ❑◆❅❒❙✎ ✭❁❋❅ ▲◆❒❅ ▼❏ ❈❁❖❅ ✰✫ ✏✦✫ ❒❅●❁▼❉❏■ ❂❅▼◗❅❅■
❏▼❈❅❒ ❆❉❅●❄ ❉■ ❏❆ ▼❈❅ ❒❅●❁▼❉❏■ ❉■ ▼❈❅ ❏▼❈❅❒ ▼❁❂●❅✎✹❏◆ ◗❉●●❇❅▼ ▼❈❅ ❆❏●●❏◗❉■❇ ▲❃❒❅❅■✎
✕✎ ✣❒❅❁▼❅ ❁ ❂❒❅❁❋ ❇❒❏◆❐ ❂ ❙ ❄❒❁❇❇❉■❇ ❁ ❆❉❅●❄ ❂❅▼◗❅❅■ ▼❈❅ ❑◆❅❒❙ ■❁❍❅ ❁■❄ ▼❈❅ ❆❉❅●❄ ●❉▲▼❁▲ ▲❈❏ ◗■ ❂❅●❏◗✎
6. ❇❅■❅❒❁▼❅ ❁ ❄❅❆❁◆●▼●❁❙❏◆▼ ❂ ❙ ❒◆■■❉■❇ ▼❈❅ ❒❅❐❏❒▼ ◗❉ ❚❁❒❄ ❆❒❏❍ ▼❈❅ ✴❏❏●▲ ❍❅■◆✎ ✹❏◆ ◗❉●●❇❅▼ ▼❈❅ ❆❉❒▲▼▼❁❂
❏❆ ▼❈❅ ◗❉❚❁❒❄ ✈✳▼❙●❅✉
✮❏▼❉❃❅ ▼❈❁▼▼❈❉▲▲❅●❅❃▼❉❏■ ❉▲❒❅●❁▼❅❄ ▼❏ ▼❈❅ ◗ ❁ ❙ ❙ ❏◆ ◗❉●●❏❒❇❁■❉❚❅ ▼❈❅ ❄❉❆❆❅❒❅■▼❐❁❒▼▲❏❆ ▼❈❅ ❒❅❐❏❒▼✎✡▼ ▼❈❉▲❐❏❉■▼❙ ❏◆
❈❁❖❅ ▼◗❏ ▼❁❂●❅▲❁■❄ ❁ ❂❒❅❁❋❉■❇ ❇❒❏◆❐✎✮❏▼❉❃❅ ▼❈❁▼▼❈❅❙ ❈❁❖❅ ■❅ ◗ ■❁❍❅▲ ✈❉■ ▼❈❅ ▲❃❒❅❅■ ❁❂❏❖❅✉✎✦❏❒ ❅ ❘ ❁ ❍ ❐●❅✌
❅ ❍❐●❏ ❙❅❅ ❉▲■❏ ◗ ✧✿✦✮✡✭✥✎ ✳❅●❅❃▼✧❒❏◆❐ ✡❂❏❖❅
✗✎ ✩■ ▼❈❅ ❇❒❏◆❐ ❐❁❇❅ ▲❅●❅❃▼✧✿✑ ❁■❄ ❃●❉❃❋ ❁❃❒❏▲▲✌▲❅●❅❃▼✧✿✤✮✡ ✭ ✥ ❁■❄ ❃●❉❃❋ ✡❃❒❏▲▲✌▼❈❅■ ▲❅●❅❃▼✧✿✦■❁❍❅
❁■❄ ❃●❉❃❋ ✤❏ ◗ ■✎ ✴❈❅▲❅ ❂◆▼▼❏■▲✈✡❃❒❏▲▲✌✤❏ ◗ ■✌ ❅▼❃✉ ❉■❄❉❃❁▼❅ ❈❏ ◗ ▼❈❅ ❒❅❐❏❒▼◗❉●●❂❅ ❆❉●●❅❄ ◆❐✎ ✦❏❒ ❅ ❘ ❁ ❍ ❐●❅✌
✡❃❒❏▲▲ ❍❅❁■▲ ❆❉●●❈❏❒❉❚❏■▼❁●●❙✌ ❄❏ ◗ ■ ❍❅❁■▲ ❖❅❒▼❉❃❁●●❙✌ ✡❃❒❏▲▲✏✤❏◗■ ❍❅❁■▲ ❈❏❒❉❚❏■▼❁●▼❈❅■ ❖❅❒▼❉❃❁●
✑✎ ✳❅●❅❃▼▼❈❅ ❆❉❅●❄ ❙ ❏◆ ◗ ❁■▼ ▼❏ ❄❉▲❐●❁❙✎ ✹❏◆ ❍❁ ❙ ■❏▼ ■❅❅❄ ❁●●❆❉❅●❄ ❉❆▲❏❍❅ ❆❉❅●❄▲❁❒❅ ❒❅❐❅❁▼❅❄ ▲◆❃❈ ❁▲ ✤✮ ✯
❁■❄ ✳✵✰✥✲✳✳✮✎
✘✎ ✳❅●❅❃▼❁ ✬❁❂❅● ❁■❄ ❆❉❅●❄ ◗❉❄▼❈ ❆❏❒ ❅❖❅❒❙ ❆❉❅●❄✎
✙✎ ✳❅●❅❃▼❁ ✴❅❍❐●❁▼❅✎✹❏◆ ❍❁ ❙ ■❏▼ ❇❅▼ ▼❈❅ ❅ ❘ ❁❃▼ ●❉▲▼❏❆ ▼❅❍❐●❁▼❅▲❁■❄ ❈❅■❃❅ ■❏▼ ▼❈❅ ▲❁❍❅ ◗ ❁ ❙ ▼❈❅ ❒❅❐❏❒▼
●❏❃❋▲✎✴❈❅■ ❃●❉❃❋ ✦❉■❉▲❈✎
✑✑✎ ✹❏◆ ▲❈❏◆●❄ ❇❅▼ ▲❏❍❅▼❈❉■❇ ▲❉❍❉●❁❒▼❏ ▼❈❉▲✎✮❏▼❉❃❅ ▼❈❁▼❅❖❅❒❙ ❄❅❐❁❒▼❍❅■▼ ▲❈❏ ◗▲ ❉■ ❁ ▲❅❐❁❒❁▼❅ ❐❁❇❅✎ ✹❏◆
❃❁■ ▲❅❅ ❏▼❈❅❒ ❐❁❇❅▲ ❂ ❙ ❃●❉❃❋❉■❇ ▼❈❅ ❁❒❒❏◗ ❉■ ▼❈❅ ▼❏❏●❂❁❒❏❒ ❃❈❁■❇❉■❇ ▼❈❅ ❐❁❇❅ ■◆❍❂❅❒ ❉■ ▼❈❅ ▼❏❏●❂❁❒
❁●▲❏✎
✑✒✎ ✮❏ ◗ ❙ ❏◆ ❃❁■ ❃❈❁■❇❅ ❆❏❒❍❁▼▼❉■❇ ▼❏ ●❏❃❋ ▼❈❅ ◗ ❁ ❙ ❙ ❏◆ ◗ ❁ ■▼ ❉▼✎