Report Builder Maintenance

Editing the layout of a Report

Once a report has been created, both the data selections and the report layout may be amended as required. This 'Help' item examines the editing of the layout of the report. For information on amending data selections see 'Editing report data'.

'Help' for 'Editing the layout of a Report' is divided as follows:

 

 


Editing the layout of a report

Accessing the 'Design' screen

1.

From the Report Builder Maintenance Grid screen, select the required report for amendment.

 

 

 

The main Report Builder maintenance screen will be displayed:

 

2.

From this screen, select .

 

 

 

A 'Design' screen will be given showing the current layout of the report:

The report design is initially derived from the definitions entered into the report query at the time of creation.

The layout is defined in the centre part of the screen.

 

 

To preview the layout of the report, select the 'Preview' tab.

 

 

All amendments to the layout must be made on the 'Design' tab.

 


Editing the layout of a report

Understanding the Report Layout screen

When the Report Layout 'Design' screen is first accessed, the screen shows the layout of the report as per the detail entered when creating the report either via Report Wizard or Query Designer.

The main 'Design' section of the screen is the central part of the screen.

Additional sections are available on the screen as follows:

 

Report Tree( left)

Shows the layout of the report screen in tree format.   Clicking on an item within the tree will (i) show the properties for that item (in the 'Properties' section of the screen (lower left)), and (ii) take the cursor to the selected place in the main section of the screen:

 

Date Tree (right)

Shows the fields available for inclusion in the report. At the top is shown (i) the data pipeline name for the report query and (ii) 'ReportDetails'.   

'Fields for Forms' may be 'clicked and dragged' using the mouse, into the main section of the screen.  Options relating to the way in which the labels and data fields are organised when 'dragged' are available on the Date Tree 'Layout' tab.  For example, selected fields may be incorporated into the report in tabular or vertical format.

 

Main Layout

The screen layout is depicted in the central section of the screen.

The screen is divided into bands according to selections made when creating the report. A brief description of each band is given below:

Title

Shows the report title as defined on the main Report Builder Maintenance (header) screen.

 

Header

Shows the field headings for each of those fields selected for inclusion in the report.

 

Group Header (0)/(1)/(2)

Only applicable if one or more Grouping has been selected in creation of the report. A separate header section is given for each Grouping. Within each of these sections is shown the field heading of the field used for the Grouping.

 

Detail

This band will initially show the field names for each field included in the report. Once the report has been viewed, this band will show the data relating to the first record to be included in the report.

 

Group Footer (2)/(1)/(0)

Only applicable if one or more Grouping has been selected in creation of the report. No data is displayed in these footer sections when the report is first created. However, detail may be entered into these fields as required, e.g. a Count of all records within a Grouping may be required, and therefore a Calculation could be inserted into the applicable footer section to display this information.

 

Footer

The footer for the report. When the report is created, the System Date and the Page number will be included in the Footer.

 

Detail may be added into any of the bands as required. This detail may be text only, insertion of additional fields or insertion of calculations. Where the inserted detail is entered determines where the detail is displayed on the final report.

NOTE:

 
1. The description of each band is displayed BELOW the applicable band.

2. The size of each band may be increased by clicking and dragging the mouse as applicable.

 

 See the 'Help' topics below for information on inserting data/fields/calculations into the report layout.

 


Editing the layout of a report

Inserting Text only fields

Text only fields, i.e. descriptive fields may be entered onto the report layout screen as required. This detail will be visible on the report when previewed/printed.

If data is to be entered as a memorandum, i.e. to be viewed only on the report layout screen and not visible on the actual report, then use the Insert Memo option - see 'Inserting a Memo' below.

Two options are available for inserting Text only fields. These are:

Insert plain text (label).
 

OR,

 

Insert rich text. This option should be used if the entered text is to be formatted e.g. emboldened, coloured, the font changed etc.

 


Editing the layout of a Report

Inserting Text only fields

Inserting plain text fields (labels)

1.

Click on .

 

 

2.

Once selected, click the mouse in the position on the report that the text is to appear.

 

 

 

 

3.

Enter the required text, at the top of the screen. This detail will automatically be entered into the label field which has been inserted.

 

 

 

 

4.

When the required detail has been entered, click on the 'Preview' tab to view the updated report layout.

 

 

 

 

 


Editing the layout of a Report

Inserting Text only fields

Inserting Rich Text fields

To insert a Rich Text field,

1.

Click on .

 

 

2.

Once selected, click the mouse in the position on the report that the text is to appear.

 

 

 

 

3.

Right Click the mouse in the Rich Text field.

 

 

 

 

4.

Select 'Edit'.

 

 

 

The following screen will be given:

5.

Enter the required text on the screen. Once entered, highlight the entered text and amend the text as required.

 

 

 

 

Additional options for formatting the text e.g. change text colour, are available by selection of 'Font' from the drop-down 'Edit' menu.

6.

When all text is entered as required, select 'close' from the drop-down 'File' menu.

 

 

 

 

The following screen will be given:

 

7.

Select to return to the report 'Design' screen, and save entered text.

 

 

 

 

 

8.

When the required detail has been entered, click on the 'Preview' tab to view the updated report layout.

 

 

 

 

 


Editing the layout of a report

Inserting a Memo

A memo may be entered onto the report layout screen as required. This detail is for information only on this report layout screen and will not be visible on the report when previewed/printed.

Note: If entered text is to be displayed on the report, insert a Text field - see 'Inserting Text-only Fields' above.

To insert a Memo,

1.

Click on .

 

 

 

2.

Once selected, click the mouse in the position on the report that the memo is to appear.

 

 

 

 

 

3.

Enter the text which is to appear in the memo, at the top of the screen. This detail will automatically be entered into the memo field which has been inserted.

 

 

 

 


Editing the layout of a report

Inserting additional Data fields

Additional data fields may be inserted into a report.

Only those fields which have previously been selected for inclusion in the report may be inserted. To insert a new field, the required field must first be selected on the 'Data' tab (see 'Editing report data')

 

Two options are available when inserting additional fields. These are:

DBText. For insertion of a field to be displayed in Plain Text.
 

OR,

 
 

DB Rich Text. For insertion of a field to be displayed in the same format as originally entered into PASS. For example a Notes field which has been entered against a record in PASS in rich text format will be displayed as per the original entry if this option is selected.

This option must be used if a Notes field is being inserted.

 

To insert a field into the report,

1.

Select or as required.

 

 

 

2.

Once selected, click the mouse in the position on the report that the field is to appear:

 

 

 

 

 

3.

In the lookup field at the top of the screen, select the required field for inclusion in the report:

 

 

 

 

 

4.

If a description for the inserted field is required, insert a text field - see 'Inserting Text-only fields' above.

 

 

 

5.

To view the amendments - go to the 'Preview' tab.

 

 

 

 


Editing the layout of a report

Inserting Lines and Shapes

Lines may be included in a report as follows:

Select the icon from the top of the screen and place it where required on the report layout screen. In the example below, the line has been added into a Group footer so that a line is drawn on each change of Tutor code:

The properties of the line may be amended using the 'Properties' section in the lower left of the screen (when the line is highlighted in the main part of the screen:

This includes the option to:

(i) Change the length of  the line

Either use the 'Width' property under 'Layout' to increase the length of the line, or the line can be clicked and dragged with the mouse.  

(ii) Change the thickness of the line

Use the 'Weight' option.  Increase the 'Weight' to increase the thickness of the line.

(iii) Change the type of line

The 'Style' under appearance may be changed to use a double line rather than the default single line.

 


Editing the layout of a report

Inserting Shapes

Shapes may be included in a report as follows:

Select the icon from the top of the screen and place it where required on the report layout screen.

Initially the shape will be inserted as a square.

The properties of the line may be amended using the 'Properties' section in the lower left of the screen (when the line is highlighted in the main part of the screen:

This includes the option to:

(i) Change the shape

Use the 'Shape' property under 'Appearance' to select the required shape.

(ii) Change the size of the shape

Use the 'Height' and 'Width' properties under 'Layout', or click the mouse on the shape and drag to the required size.

 


Editing the layout of a report

Inserting Calculations

Calculations may be entered onto a report to show e.g. a count of records. The sum, average, maximum and minimum may also be calculated for numeric type fields.

Calculations are entered into either the main Footer of the report (if e.g. a Total Count of Total sum of records is required), or into a Group Footer. Entry of a calculation into a Group Footer allows Totals/Sums etc to be included each time that a Group changes. For example, if a report is grouped by Form, a calculation (such as Count of Pupils) may be included each time that the Form code changes.

Note: Groups are usually defined at the time of creating the report. If additions/amendments to Groups are required later, these amendments must be made on the Layout 'Groups' screen - see 'Grouping Data' below.

 

To include a calculation on the report,

1.

Select .

 

 

 

2.

Once selected, click the mouse in the position on the report that the memo is to appear.

 

 

 

 

E.g. to count the number of records in a Form, House etc, place the calculation in the applicable footer. In the example below, the calculation is placed in the Group Footer[1] which is Tutor Code. This means that the calculation will be shown on each change of Tutor code.

 

3.

At the top of the screen, select the required field for the calculation. E.g. to count pupils, select 'Pupil Code'.

 

 

 

 

4.

Right-click the mouse on the entered calculation field and select 'calculations':

 

 

 

 

 

The following screen will be given:

5.

Make selections as follows:

 

Calc Type

 

 

Count

Used to count the number of records.

 

Sum

For numeric type fields. Include a sum of values.

 

Minimum

For numeric type fields. Display the minimum value.

 

Maximum

For numeric type fields. Display the maximum value.

 

Average

For numeric type fields. Display the average value.

 

Reset Group

Group[0]/[1]/[2]

This field is applicable only if one or more Groupings have been used in the report. The calculation will be reset each time that the field selected for the grouping changes. E.g. if Group [1] is selected, and Group [1] is Tutor Code, then the calculation will restart each time that the Tutor Code changes.

 

 

The following selections were made in the example below:

 

 

6.

When the required selections have been made, click on to return to the main layout screen, updating the entered calculation.

 

 

 

 

 

On the example, a count has been inserted to count the number of Pupils (pupil codes) for each Tutor, and to display the count in the Tutor Code footer.

 

7.

If a description for the inserted field is required, insert a text field - see 'Inserting Text-only fields' above.

 

 

 

8.

To view the amendments - go to the 'Preview' tab.

 

 

 


Editing the layout of a report

Grouping Data

Groups are used for grouping report data together. For example the report may be grouped by Form, so that all Pupils in a Form are together. Within each form, the pupils may be grouped by Pupil type etc. as required.

Report Groups may be added as required from the Layout screen. This will be used if required Report Groups were not entered when originally creating the report layout, or if existing groups are to be amended/deleted.

To access the Group screen, Select 'Groups' from the drop down 'Report' Menu at the top of the screen.

The following screen will be given:

The following options are available

 

Grouping data

Adding a new Group

1(a)

Click on , and then select the required group for addition from the 'Groups' lookup at the top of the screen.

OR,

 

1(b)

 

If a Group is to be inserted above another (previously selected) group, click the mouse on the Group within the selected list, above which the new group is to be inserted, and select . The required Group may then be selected.

 

 

2.

Additional Options affecting the layout of the data for each selected Group are available. Click the mouse on the required group for amendment before entering detail as follows:

 

On Group Change

 

 

Start new page

Tick this field if a new page is to be used each time that the selected Group changes.

 

Start new column

Only available if the report has been set up to use 2 or more columns (on the Report Design -  Page Setup 'Layout' screen)

Tick this field if a new column is to be used each time that the selected Group changes.

This will only work if using a 'top to bottom' column traversal (set on the Report Design - Page Setup 'Layout' screen).  It will not work with a 'left to right' column traversal).

 

Reset page number

This option is only available if 'Start new page' above has been ticked. Tick this box if the page numbering is to restart each time that the selected Group changes.

 

Start on odd page

Tick this field if the new page is to start on an odd page.

 

New page when less than

If 'start new page' is not selected.

Enter a value in this field if a new page is to be started on each change of group only if the entered number of 'units' left on the page is less than that specified in this field.

E.g. if the report unit type is 'millimetres', and '20' is entered in this field, then a new page will be used on a change of group if there are less than 20 millimetres left on the page.

(The Unit type used for the report is specified on the Report menu:

)

 

Keep group together

 

Tick this field if all data for each Group is to be kept on the same page.  For example if a report is grouped by Form, then a new Form would not start at the bottom of the page, but would instead start at the top of the next page.

 

Reprint group headers on subsequent pages

Tick this field if Group headings are to be printed on every page. If this box is not ticked then the headings will appear on the first page only.

3.

Entered required detail for each Group as required.

 

 

4.

Select to return the main layout screen, saving all Groups amendments.

 

Grouping data

Editing existing Group detail

1.

Highlight the required Group for which detail is to be amended.

 

 

 

2.

Make amendments as for 'Adding a new Group' above.

 

 

 

3.

Select to return the main layout screen, saving all Groups amendments.

 

 

 

Grouping data

Deleting a Group

1.

Highlight the required Group to be deleted.

 

 

 

2.

Select .

 

 

 

3.

Select to return the main layout screen, saving all Groups amendments.

 

 


Editing the layout of a report

Moving and aligning fields

All fields on this screen may be moved as required by clicking and dragging the fields with the mouse. Fields may be moved within the same 'section' or to a different 'section' as required (see 'Understanding the Report Layout screen' for further information on the layout of the screen).

In addition, a number of formatting options are available.

The alignment toolbar may be added to the top of the screen by selection of View - Toolbars - Align or Space.

The text to be formatted should first be highlighted by clicking the mouse at the beginning of the area to be formatted and then dragging the mouse to the end of the required area. The following options are then available:

Align left

To align all highlighted fields so that the beginning of each field is at the same point (horizontally).

 

Align middle

To align all fields so that the central point of each field is at the same point (horizontally).

 

Align right

To align all highlighted fields so that the end of each field is at the same point (horizontally).

 

Align top

To align all highlighted fields so that the top of each field is at the same point (vertically).

 

Align centre

To align all highlighted fields so that the centre of each field is at the same point (vertically).

 

Align bottom

To align all highlighted fields so that the bottom of each field is at the same point (vertically).

 

Space horizontally

To equally space all selected fields, horizontally across the page.
Note:
The fields will be equally spaced according to the original positions of each field. e.g. the second field (vertically) will not necessarily appear to the right of the first.

 

Space vertically

To equally space all selected fields, vertically.

 

 

Centre horizontally in band

To centre all fields in the band horizontally. All fields will retain their original horizontal spacing relative to other fields. The central point of all fields (horizontally) will however be centred horizontally within the band.

 

Centre vertically in band

To centre all fields in the band vertically. All fields will be retain their original vertical spacing relative to other fields. The central point of all fields (vertically) will however be centred vertically within the band.

 


Editing the layout of a report

Adjusting the size of fields

All fields which are included on a report, regardless of the type of field may be enlarged or reduced in size as required. Data fields which are entered onto the layout screen will often need enlarging in order that the whole of the field will be displayed on the report itself.

To enlarge or reduce the size of a field,

1.

Click the mouse on the required field

 

 

 

2.

Using the mouse, click on one of the points displayed around the field. Holding the mouse down, drag the mouse away from the centre of the field to enlarge the field, or towards the centre of the field to reduce its size.

 

 

 

 

Note: The size of the field selected on this screen will be the size of the field on the resulting report. Therefore, if the field is a data field, it is necessary to ensure that the field is large enough to show the longest record for the field on the report.

 

3.

Check that the field is the right size by viewing on the 'Preview' Tab.

 

 


Editing the layout of a report

Rotating Fields and Labels

The instructions below relate to PASS versions 2.4 (using Report builder 11) and after.  The 'Rotated Labels' option is included  only for compatibility with reports previously created.

Fields and labels may be rotated by a selected number of degrees as follows:

1.

Right-click the mouse on the screen, and select 'Position'.

 

 

 

 

The 'Position' options will be given.

 

2.

To rotate the selected field/label, adjust the Angle as required.

 

 

 

3.

Select .

 

 

 

The field will now appear rotated:

 


Editing the layout of a report

Displaying data in a Grid format

To display report data in a Grid,

1.

Select from the top of the report 'Design' screen.

 

 

 

2.

Once selected, click the mouse in the position on the report that the grid is to appear.

 

 

 

 

In the example below, the grid box has been added to the 'Detail' section of the screen:

 

3.

To determine the grid format right-click the mouse on the grid box.

 

 

 

The following options are available:

a)

Enter number of columns:

Select 'ColCount' from the list offered.

Enter the required number of columns for the grid, and then select .

The selected number of columns will be added to the grid.

 

b)

Enter number of rows:

Select 'RowCount' from the list offered.

Enter the required number of rows for the grid, and then select .

The selected number of rows will be added to the grid.

 

c)

Position

The exact position of the grid on the page may be amended by selection of 'Position', and entry of the required co-ordinates.

 

d)

Hide/Display Grid lines

The Grid lines may either be visible or hidden on the printed page, according to the selection made against the 'Visible' option.

Click the mouse against the 'Visible' option to add/remove the tick as required.  If the grid lines are to be visible on the printed page there should be a tick against Visible:

4.

Once the grid format has been determined, the applicable fields may be 'dragged' to the Grid as required:

 

 

 

Note: A separate grid will be printed for every record.  If the detail is to appear as if in a single large grid then the grid should occupy the whole vertical are of the 'Detail' section as below:

5.

To view the amendments - go to the 'Preview' tab.

 

 

 


Editing the layout of a report

Deletion of layout items

All types of field may be removed from a report.

To remove a field from a report:

 

1.

Click the mouse on the field to be deleted.

 

 

 

2.

Press the 'Delete' key.

 


Editing the layout of a report

Changing the Page and Print Setup

The Page Setup screen may be accessed from the drop down File menu.

Select the applicable tab (Printer, Paper Size, Paper Source, Layout, Margins) to amend as required.

Alternatively, this detail may be entered using the Page Setup button available from the main Report Builder Maintenance Screen.