Limiting search results |
Web pages display search results within the ResultGroup. You can limit the number of records retrieved by adding a WHERE clause to the query that is sent to the database. To limit search results by adding a WHERE clause:
•Do not use the WHERE keyword. •Use placeholders in the WHERE clause to refer to column values or text values. •Use SHIFT+ENTER or CTRL+ENTER to create a new line if necessary.
Example To retrieve tours that last more than 7 days, set WHERE Clause property to: num_days > 7
See Also |