13.07.2015 Views

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6. Specify the value or the parameter containing the new value of the item. The modified values can correspondto:• the default value defined in the WinDev or WebDev analysis.• a specific value. In this case, specify this value.• a value found in a parameter. In this case, specify the name of the parameter.•a null value.7. Validate your choice.8. Repeat the operations 5 to 7 for each item for which a value must be modified.9. Define the selection conditions. See “Selection conditions”, page 196 for more details. Go to the nextwizard screen.10. Specify (if necessary) the sequence of the selection conditions with the AND and OR conditional operators:• Conditional operator AND: the selected records will match both conditions. For example, the queryselects the customers whose name starts with the letter "A" AND who live in Paris.• Conditional operator OR: the selected records will match one of the two conditions or both conditions.For example, the query selects the customers who live in Paris OR in London.Go to the next wizard screen.11. Enter the name of the query (name of the ".WDR" file corresponding to the query). This name will beused to identify the query in your programs.12. Specify the caption of the query. This caption will be used in the project documentation.Note: A query name is automatically proposed from the caption.13. Validate the description of the query. The graphic representation of the query is automatically displayedin the query editor.Notes:• You have the ability to modify all the characteristics of a query ("Query description" from the popupmenu of the query). See “Characteristics of a query”, page 191 for more details.• To generate the SQL code corresponding to this query, select "SQL code" from the popup menu of thequery. If modifications are performed in the description of the query, these modifications will be automaticallycarried over into the corresponding SQL code.• You can also create a query from one or more data files described in the data model editor: to do so,"Drag and Drop" the data files selected in the "Analysis" pane to the query editor.• The test of the created query can be run from the query editor. See the “Test of the query”, page 205for more details.Part 2: Query editor 173

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!