| To define a query with Easy SQLUse this procedure to define the selection criteria for a query
through Easy SQL. The basic query properties for the query must have been
defined. See Defining a query. To define the selection criteria for a query through Easy SQL,
complete these steps: Fase 1. Add table(s)- In the Query Data (ttadv3580m000) session, select the new query and, on the Vistas, Referencias o Acciones menu, select Query By Easy SQL.... The Query Table Data (ttadv3181m000) session starts.
- Click Nuevo and, from the Table field, zoom
to the Display Tables (ttadv3584m000) session.
- Find and select the
relevant table, and click Save and Close. The table is added
in the Query Table Data (ttadv3181m000) session.
- In the Query Table Data (ttadv3181m000) session, press Tab.
- To add extra query
tables, repeat steps 2, 3, and 4. Then, click Guardar.
Fase 2. Add fields- In the Query Table Data (ttadv3181m000) session, select the table record and, on the Vistas, Referencias o Acciones menu, select Add Table Fields. The Query Table Fields (ttadv3582m000) session starts.
- Select the relevant
field(s) and click OK.
Fase 3. Modify field properties- In the Query Table Data (ttadv3181m000) session, select the table record and, on the Vistas, Referencias o Acciones menu, select Query Fields.... The Query Field Data (ttadv3182m000) session starts.
- Double-click a query
field. The Query Field Data (ttadv3182s000) details session starts. In this session,
modify the print sequence, specify arguments, and so on.
- Repeat step 2 for
each field.
- Save the changes and
close the sessions.
| |