(Contents)(Previous)

The Report Generator Wizard

Introduction

The Report Generator Wizard has been designed as a simple and easy way to generate a report that is tailor made to meet your Report specifications.

The Wizard is actually a form made up of seven tabs that need information entered into them. These tabs are Output, Table, Lookups, Columns, Selection, Sequence, and Finish.

What do you want to do?


Selecting the Wizard

To select the Wizard:

  1. Select the Define Report option from the Report Generator Main menu.

  2. Click the OK button.

    You are presented with a form with eight icons and a ring menu with the options File, Language and Help on it.

  3. Select the File option and then select the Report Wizard option. Alternatively, click the Report Wizard Icon (shown with a magic wand) from the toolbar.

(Back to top)


Using the Report Wizard

On accessing the Report Wizard a form will appear with an Output Tab, and six picture options as to which type of Report you wish to create. These picture options are, Display, Print, HTML, Chart, Mail and Export. In the following example the Display Option is chosen, but depending on which Report type is chosen, some of the tabs may differ.

When you have decided what type of report is required (in this case Display), click on the appropriate picture. The Next > button at the bottom of the form can now be clicked on. Alternatively, if you have decided not to progress with the Report Wizard click the Cancel button. This will return you to the main menu. Left clicking the Help button that also appears at the bottom of the form accesses the Help files.

Tip : DropDown This button is called a Drop down. It provides you with a selection of data.Click on the button and select the data that you require by.

Once the type of report has been selected and the Next > button clicked a new Tab will appear on the form. This is the Table Tab. It requires you to select a Module and Table from two drop down menus that appear. The selection of the correct module and table is vital if you are to succeed in producing the report that you require.

When you have selected the two sets of criteria from the two drop down menus in the Table Tab you are given the option to click on any of five buttons at the bottom of the form. These are:

If the Next > button is clicked the Columns Tab will appear. By clicking the Add and Remove buttons, the Columns of data that are to be seen by you when the Report is finally compiled can be selected. These selections are shown in the text box called Current Selection.

When you have selected the criteria to appear in the Current Selection text box in the Columns Tab you then have the option to click on any of five buttons at the bottom of the form. These are:

If the Next > button is clicked the Selection Tab will appear. You may now click any of the six buttons on the form.

(Back to top)


The Add Condition button

Tip : [...] This button is called an Ellipsis . It provides a search facility. Click on the button to search for the information that you require.

The Add-Condition button should only be clicked on if you wish to enter criteria to the Report. For example, you may only wish to know which suppliers lives in the post-code region RG14. With the Add-Condition button functionality it is possible to find this out.

When the Add-Condition button is clicked a form is generated with three text boxes that need to be completed. The first text box is the Column text box. You may select the column required by using the search facility to list the available columns. This is activated by clicking the Ellipsis [...] button, adjacent to the relevant field. The next text box to be completed is the operator text box. This is the delimiter of the Report . It Instructs the Report to only work within the boundaries of certain criteria. The third and final text box to be completed on this form is the Value text box. This should reflect the boundaries of criteria that the Report is required to work in. It may be an Alpha, Numeric or Alphanumeric code. In the example of a post-code the field chosen would be post code, the delimiter chosen would be = and the value would be RG14 where you are establishing those suppliers that live in the RG14 postal area. When this text box is completed press the <Tab> key on the keyboard or the <Enter> key on the numeric key pad in order to continue. The Add button will now be available and this needs to be clicked in order for the Report selection to be saved.

Once the changes have been saved you will see that the form will now have the criteria of the specific query on view in the Field, Operator and Value Text box's located beneath the Select tab. At this stage of the Wizard it is now possible to edit the criteria by either by clicking the Modify Condition button or by double clicking on the Field, Operator, or Value fields. You also have the option to enter further criteria by way of clicking the Add condition button. By using this method a quite definitive report can be produced to suit the operators requirements.

If the Next > button is clicked the Sequence Tab will appear. The Sequence Tab is responsible for the sorting of data within the Report that you are generating. There are five radio buttons on the form that are available. The first three radio buttons are responsible in defining how the Report is to be sequenced. The three radio buttons are:

Note: Only one of these three options can be chosen at any one time.

Once you have selected one of these sequences, one of the two radio buttons that define in what order the Report is to be generated need to be selected. The two radio buttons available are:

Once you have distinguished which sequence and order the Report is to be generated in, one of the five buttons at the bottom of the form need to be clicked. These are:

If the Next > button is clicked the Finish Tab will appear. The Finish Tab has six buttons available to you. These are:

(Back to top)


Advanced Features

This form can be accessed by clicking the Advanced button in the Finish Tab. It consists of three check boxes and a text box. The three check boxes that you must either tick or leave blank are as follows:

You also need to complete the Stop after outputting text box. This requires either a blank space, or a numeric response.

Once you are satisfied that the Advanced Features form is correct the Close button can be clicked. This will return the you to the Finish Tab.

(Back to top)


Test Report

You should only click the Test Report button only when satisfied that the data entered into all of the tabs and forms in the wizard matches the criteria of the Report that needs to be generated.

(Back to top)


Standard Database Joins

A list of standard database joins has been added to the system. This can be edited manually from the Add/Modify database joins in the System Utilities/ADP menu/ Application files menu This menu also contains a utility (generate joins from reports) which appends to the list any joins defined in existing reports on the system. This utility is designed to allow an initial list to be constructed and is not for general use. If it is used the records created should be reviewed to avoid inappropriate joins being defined.

Searching from the module field for table ID's 2-9 on the tables screen now gives a list of known database joins with the tables already specified on the report. Selection of one of these known joins will automatically complete the entire table entry line.

A new link type has also been added. A link type of "=" denotes a calculated link (equivalent to a link type of " " previously) while a link type of "+" denotes a concatenation (equivalent to a link ID of "C" previously).

A link type of "M" defines a multiple link for the second table. This allows a one-to-many relationship. For example the prime table could be a sales order line file. This has many applications such as:

Entering "COMPLEX" as the link field for a table allows a complex join to be defined of up to 6 sub-keys . Occurrences greater than one may also be specified. The pre-defined joins described above may also be complex.

The format section of the report remains as at present unless it is defined as a multi-line display or print. In this case the display is reformatted. If the format is more than 78 characters wide the screen may be scrolled left and right by clicking on the arrow characters in the ruler. click on the format will move the cursor to that position while left double-click will amend the field at the mouse position or create a new field . FN'1 displays a list of available keys while FN'2 (or right click) allows the number of lines in each section of the format to be changed.

Derived fields may be created "on the fly" and fields may be identified using words from the field description. If an equivalent line exists in the page header, the filed description will be added to the page header section as the field is added to the line section. If the sub-total or grand total section is not defined, the line format is used as previously.

Numeric or date fields my be defined as "blank if zero" when they are selected.

Angle brackets may be used to switch between normal and bright characters (large and normal characters on a printed report). All characters in the page heading and sub-heading are automatically bright.

Derived fields can now be continued on subsequent lines by entering a "+" as the field name on the continuation lines. Derived logic must be split at a sensible point (e.g not in the middle of a field name).

An implicit summing of occurrences may be defined by setting the start and end occurrence separated by a ":". For example !1_FIELD(2:10) will return the sum of occurrences 2 - 10 of the field.

On export reports a special derived field "EXFILE$" allows the normal export filename to be overridden. It should be set to a string of 8 or less alphanumeric or hyphen characters.

Some new derived fields have been added to optionally control the display/printing of charts. These are:

Several new functions have been added to the existing functions. These may now be pasted into derived fields. Currently defined fields are as follows:

Function, Description, Parameters

Image

Size of date (8/10/18)

Size of date (8/10)

Cost value

Gross value, Net value, Decimal places

(Back to what do you want to do)

(Contents)(Previous)(Top of the Page)