Tuto WINDEV Mobile 25

Part 5: Android and iOS: Developing an application 147 Adding a selection condition In our example, the user will be able to select a value for the product name. We must modify the query in order for this search criterion to correspond to a query parameter. ▶ To define a query parameter, display the description window of query: double-click the background of graphic query representation (or select "Query description" from the popup menu). ▶ To manage the "Product name" parameter: 1.  In the middle of window, select the Product.Name item. 2. Display the popup menu and select "Selection condition .. New condition". 3.  In the window that is displayed, we are going to specify that the selection condition corresponds to a parameter: • Select "contains". • Select "the parameter". • Keep the parameter name automatically proposed: "ParamName". 4. Validate the condition description window. The number "1" appears on the right of "Product. Name" item, indicating that a selection condition was defined.

RkJQdWJsaXNoZXIy NDQ0OA==