Tests and quizzes creation with UniTest System software. Web Design. Software Development. Language Translation ...

Table of Contents
Intro
Editor
Test
Report
Report Features
Report Toolbars
The Filter Setup Dialog
The Filter Language
Report Creation
Report Template Bands
Reporting Toolbars
The Report Wizard
The Groups Dialog
The Page Setup Dialog
The Print Dialog
The Print to File Setup Dialog
Report Template Groups
Results Database Field Names
The Change Password Dialog
Monitor
Settings
UniTest Starter
UniTest Direct

 Online Help System: UniTest System

Report Template Groups

Groups are used in the report templates to gather together (in groups) data having common properties . For example, to group data by test names (test name here is a common property):

Click here to view screenshot in real size

To do this you need to create a new group using the Groups dialog (see The Groups Dialog), accessible through the Groups... command from the Report menu.

We want to group data by test name (test subject), and therefore we need to create the TestSubject data field group. To do this, check Data Field (checked by default) on the Break On group, then select utDataSource.TestSubject from Groups combo box and press the Add button. All group settings can be left as is (default settings). Press the OK button to create the new group and close the Group dialog.

Two bands are added to the report template:

  1. The "Group Header[0]: TestSubject" band is the header band and
  2. The "Group Footer[0]: TestSubject" band is the footer band for the newly created group.

In these bands you can enter data to visualize at the beginning and at the end of each group. For example, you can create DBText control for displaying the TestSubject field in the header band, to display the test name (test subject) at the beginning of each group.

The last thing you need to do is to sort the results data in the results database on the test name field, to avoid excessive group breaking when the test name changes from record to record (to sort records test names):

Click here to view screenshot in real size

To sort data by field, just click on the Test name field header in the main Report window (a triangle displays on the right of the field header button).

Now your grouped report is ready.

You can create other groups in the same way. Also, you can follow the same steps to create sub groups. Sub groups are useful, for example, to create lists of students grouped by organization names for each test name (i.e. grouped by test name).

 

See Also:

The Groups Dialog

Results Database Field Names

UniTest System: Report

Home :: News :: Products :: Services :: Support :: Feedback :: About