query
Syntax: %query(expression,view)
returns a string list of record numbers for the records in the current view that match the query expression. If view is present, it is a string list whose first item is the name of the view to query, and optional second item is the database name.
Example:
#SHOW %query(((&Hit>2)&&(&Dam>2)),Weapons)
returns a list of records from the Weapons view where the Hit and Dam fields are both greater than 2. |