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.

4. Select (if necessary) "I want to add a condition" (for an item on which at least one condition is performed).5. Choose the selection criteria (equal to, greater than, …) of the condition. This condition can be appliedto a given value, a parameter, a sub-query, …6. Indicate (if necessary) a <strong>com</strong>ment on the condition. This <strong>com</strong>ment will be displayed in the SQL code ofthe query (preceded by "//").7. Validate. The selection condition is automatically added.How do I modify a selection condition in a query?To modify a selection condition in the current Select query:1. Select "Query description" from the popup menu of the query. The description window of the query isdisplayed.2. In the middle part of the window, select the item for which a selection condition must be modified.3. In the right section of the window, click the "Selection condition" button and select "Modify the condition".The window of selection conditions is displayed.4. Select (if necessary) the condition to modify (for an item on which several conditions are performed).5. Modify the selection condition.Note: You can select a specific value via . The following menu is displayed:You can:• select one of the possible values among the values found in the data file.• view the entire data file.Caution: This option is available only if the Live Data is enabled. The Live Data is configured in the "LiveData" tab of the project properties. See the online help (keyword: "Live Data") for more details.6. Indicate (if necessary) a <strong>com</strong>ment on the condition. This <strong>com</strong>ment will be displayed in the SQL code ofthe query (preceded by "//").7. Validate. The selection condition is automatically modified.To modify a selection condition in the current Update or Delete query:1. Select "Query description" from the popup menu of the query. The description window of the query isdisplayed.2. Display the "Query" tab.3. Select the item on which a selection condition must be modified and click the corresponding "Condition"column. The wizard for selection conditions is displayed.4. Select "I want to modify an existing condition".5. Select (if necessary) the condition to modify (for an item on which several conditions are performed).6. Modify the selection condition.7. Indicate (if necessary) a <strong>com</strong>ment on the condition. This <strong>com</strong>ment will be displayed in the SQL code ofthe query (preceded by "//").8. Validate. The selection condition is automatically modified.Part 2: Query editor 197

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

Saved successfully!

Ooh no, something went wrong!