Before it is able to create a new query, the system needs information that enables it to generate the corresponding report. The following entries are required:
Title and list format
Field selection (fields used in the list)
You are in the initial screen of the Queries component.
Proceed as follows to use the Query Painter to create a basic list:
Use the Switch User Group function to select the user group, to which you want the new query to belong.
Specify a name for the query.
Query names are a maximum of 14 characters in length. The name of the query must be unique, that is there must not be a query with this name in the user group already.
Choose the Create function.
A list of InfoSets belonging to the user group is displayed.
Select the InfoSet appropriate for your query and click on Accept .
You are taken to the Create Query: Title, Format screen.
To find out how to create InfoSets, see Creating and Changing InfoSets.
If there are a lot of InfoSets with many fields assigned to one user group, use the search function to find the InfoSet you need. You can search for any term within the selected InfoSets. The result is a list of all the InfoSets and fields that match the search criterion.
Type the appropriate information into the dialog fields.
Chooseto specify that you want to use the Query Painter to define the basic list.
In the Settings dialog box, activate the Graphical Query Painter check box and click on Continue .
The Settings dialog box closes.
Click on the Basic List pushbutton to open the Query Painter. You can select the fields you want from the Query Painter directly.
Alternatively, choose Next Screen , and choose the fields that you want to use to build your query before you start the Query Painter. This procedure is useful if you want to define local fields.
Defining local fields allows you to generate new information from the fields in an InfoSet, without having to include an additional field.
See also: If you want to choose the fields in the Query Painter, see the section on Layout Mode/Graphical Query Painter.
If you want to create local fields and add them to your query before you call the Query Painter, see the following sections:
For more information, see Layout Mode/Graphical Query Painter.