Report Builder Maintenance

Creating a Query using Query Wizard

1.

If a completely new Report is being created, enter the header detail for the report. (See 'Report Builder Maintenance - Adding a new Report).

 

 

 

2.

From the main Report Maintenance Form, select .

 

Note:  for Admin/School Reports/Assessments - 'Report builder Maintenance'.  Once the 'Report Setup' option has been selected, Users should not click off to another application (e.g. to read email) until the "Would you like to create a report based on a template?" message appears.  This is to prevent the Report Builder Maintenance Screen from being 'hidden'.

 

 

The following message will be given:

 

3.

Select to continue and create a completely new report.  The following selection screen will be given:

 

 

 

 

 

4.

Highlight 'Query Wizard' and select .

 

 

 

The Query Wizard 'Tables' screen will be given:

A list of all available Tables is offered for selection. These tables hold all those fields available for inclusion in the report e.g. the 'Forms' table holds a list of many of those fields held in an individual Form record.

  • The Query may be set up to use information from more than one Table.
  • The List of Tables available is dependent on the list of ODBC views available to the User who is creating the report, i.e. the User who is logged into PASS.

Additional Help Topics:

  1. See 'Tables and Fields' for further information on Report Builder Tables and Fields
  2. See the applicable help topic from the list below, to view the list of tables and table links available in the selected module:

 

 

  1. See 'Report Builder - List of Tables and Fields' for a full list of ALL Report Builder Tables and the Fields held in each Table.

5.

Select the first Table required by highlighting the applicable 'Available Table' and selecting , or alternatively, double-click the mouse on the required Table.

 

 

 

 

The selected table will be displayed on the right hand side of the screen under 'Selected'. All 'linked' tables which have not yet been selected will then be displayed  in bold text on the left hand side of the screen. In the Example below, 'Forms' has been selected. Those linked Tables which are now available for selection are 'Current Pupils', 'Current Pupils All Years',  'Form Years', 'Past Pupils', 'Prospective Pupils' and 'Staff'.

Note: It is also possible to select tables which are not linked, so long as the User can provide a valid link - see 'Linking tables'.

 

 

If 'Current Pupils' is now selected, a list of all (available) Tables linked to the 'Current Pupil' table will be available for selection, and so on.

Note: To de-select a currently selected Table, highlight the applicable 'selected table' and click the mouse on (or double-click the mouse on the Table that is not required).

 

6.

When all required tables have been selected, click on .

 

 

 

The Query Wizard 'Fields' screen is given:

 

 

The 'Fields' screen is used to determine which of those Fields contained within the Tables on the previous screen are to be included in the Report Query. See Tables and Fields for further information on Tables and those Fields contained within them.

7.

Select one of the following by use of the applicable 'radio button'.

 

 

 

 

All Fields

If all fields in the tables selected on the previous screen are to be available for inclusion in the Report.

Note: if 'All fields' is selected at this point, the actual fields for inclusion may be selected at a later stage in the report creation.

 

 

Choose
Fields

If the number of fields to be available for inclusion in the report is to be reduced at this stage. If 'Choose Fields' is selected, a list of those fields contained in the tables selected on the 'Tables' screen will be offered:

Select all those fields required by highlighting the available fields (on the left hand side of the screen) as applicable and clicking on , or double-clicking the mouse on the required field. Alternatively click on to select ALL listed fields.

Note: It is important that at least one field is selected. If no fields are selected, then an error will be given on completion of the Query.

To de-select a field already selected, highlight the applicable 'selected field' and click on (or double-click the mouse on the field that is not required), or click on to de-select ALL currently selected fields.

8.

Select .

 

 

 

The Query Wizard 'Calculations' screen will be offered.

 

9.

Pass through this Calculations screen by selection of .

Note: if any calculations are to be included in the report, it is advised that they are entered on the Report Layout screen - see 'Editing the layout of a Report'

 

The Query Wizard 'Grouping' screen is given:

 

10.

Again, pass through this Groupings screen by selection of .

Note: if any groupings are to be entered, it is advised that they are entered on the Report Layout screen - see 'Editing the layout of a Report'

 

The Query Wizard 'Search' screen will be displayed:

 

11.

Select one of the following by use of the applicable 'radio button'.

 

 

All Rows

If all the data contained in all selected 'Fields' for all selected 'Tables' for all records is to be included in the report.

Note: Search Criteria may be entered later if required. Go to 12. below.

 

 

Define Search Criteria

If the data included in the report is to be reduced by use of Search criteria. E.g. to include data for first year Forms only, for one pupil only or all Years except Year one.

See 'Search' for further detail on adding Searches to a Query.

 

12.

Select to proceed to the Report Wizard 'Order' (Sort) screen:

 

 

 

 

 

 

Select one of the following by use of the applicable 'radio button'.

 

 

Natural Order

If data in the report is to appear in its natural order. If this option is selected, the data contained within the report may be in no particular order. Go to 13. below.

 

 

Set Order

To set the order that the data is to appear in the report.

The order in which the Fields are to be used is determined by the order in which they are listed in the screen.  These fields may be moved into the required order by use of the and buttons.

By default each selected field will be printed in ascending order on the report.  If you wish a field to be printed in descending order on the report, highlight the applicable field in the 'selected fields' section of the screen, and select .

See 'Order' for further detail on amending the Report Order.

13.

Select . The following screen is offered:

 

 

 

 

Enter the information as follows:

 

Name

Enter a description for the Query.  This description will be used in the header of the report i.e. as the report title (if Query Wizard is used to define the layout of the report - see 'Report Layout' below)

14.

Select one of the following radio buttons

 

to return to the main Report Builder Maintenance screen for the report.

to see a preview of the created report. (see Note: against 14. below).

 

to modify the query design using Query Designer.

15.

When the above selection has been made, select .

 

 

If 'Preview the query' has been selected, then a preview of the report will be displayed.

Note: this preview will not give an accurate picture of the report i.e. the list will include records not in the current year, and any search criteria entered may not be included in the preview.

Continue and create the report layout (go to 17. below) and preview from the Main Report Maintenance screen (using ) when complete.

16.

Select to continue.

 

 

 

Now that the data content for the query has now been determined, the layout of the report must be defined.

 

 

The following message will be given:

 

17.

Select to continue and define the layout of the report.

 

 

 

 

REPORT LAYOUT

18.

When 'Yes' has been selected to the above message, the first of the Query Wizard report layout screens will be displayed.  This screen is the Report Layout 'Fields' screen.

 

 

 

 

This screen is used to select which fields are to be included on the final report.

 

 

The list of Available fields offered is the list of fields as selected on the 'Query Wizard Fields' screen.

Note: It is important that the default 'Data Pipeline Name' at the top of the screen is NOT amended.

 

19.

Select those fields which are to be included in the report as follows:

 

 

 

Highlight the required 'Available Fields' and select . Alternatively, to select all those fields which are listed, select ).

To de-select fields already selected highlight an individual field to be de-selected and click the mouse on , or, to remove all currently selected fields, click the mouse on .

The 'Order' options and can be used to change the order of the listed fields. Highlight the required field to move and then select either to move the selected field up the list, or to move it down the list.

 

20.

When all required fields have been selected (and are now listed under 'Selected Fields', click the mouse on to proceed to the Report Wizard 'Groups' screen (see below), or to end the report creation (go to 25. below).

 

 

 

 

This screen is used for grouping information.

Select the main Groups field by highlighting the field (under 'Available Fields' and then clicking the mouse on the next to 'Groups'. Up to three fields may be selected in this way for grouping purposes. The example below shows that 'Form School' has been selected as the main Group, with 'Form Year Code' selected as a subgroup of 'Form School', and 'Form Code' as a subgroup of 'Form Year Code'.

 

Note: Groups should reflect the selections made under Report 'Order'. For example if a report is to Group by Form, the Report Order should be in 'Form' order.

 

 

 

21.

When all required Groups have been selected, click on  to proceed to the Query Wizard layout/orientation screen, or to end the report creation (go to 25. below).

 

 

 

 

The layout/orientation screen is used to select the report layout and paper orientation. The actual layout/orientation screen displayed will depend on whether Groups have been selected on the previous (Groups) screen.

 

 

(a)

 If groups have been selected, the following Orientation screen will be given:

 

 

(b)

If Groups have not been selected on the Groups screen, the following screen will be given:

 

 

Select the required layout and orientation for the report by use of the radio buttons (click the mouse on each of the listed radio buttons to see a preview).

22.

When the Orientation/Layout screen is completed, click on to display the report 'Style' screen, or to end the report creation (go to 25. below).

 

 

 

23.

Select the required 'style' for the report. (Click the mouse on each of the listed options to see a preview).

 

 

 

24.

When the required style has been selected, click on .

 

 

 

25.

Select one of the following radio buttons:

 

 

 

to see a preview of the created report. (see Note: against 26. below).

Or,

to amend any of the data within the report.

 

26.

Click on .

 

 

 

If 'Preview the report' has been selected, then a preview of the report will be displayed.

Note: this preview will not give an accurate picture of the report i.e. the list will include records not in the current year, and any search criteria entered may not be included in the preview.

To see an accurate preview, use from the Main Report Maintenance screen.

If 'Modify the report's design' has been selected, then the following screen will be given:

This is the Query Designer. The content of the Query may now be modified as required. (See 'Editing an existing report').

 

27.

Select .

 

 

 

The Report Maintenance Form will be re-displayed.

 

28.

The report query and layout creation are now complete. Select to preview/print or edit the report as required.