Xbasic
MRU_QUERY Function
Syntax
MRU as P = mru_query(C table_set )
Arguments
- table_set
The name of a table or set with the ".set" or ".dbf" extension.
Description
Returns the current or most recently used query for the specified table/set
Discussion
Creates a CR-LF delimited list of the most recent values for query.filter, query.options, and query.order. MRU_QUERY() returns a pointer variable containing the most recent values for query.filter, query.flags, and query.order.
Example
dim cs as P
cs = mru_query("code.set")
? cs
= filter = ACTION ""
flags = ""
order = "NAME + ACTION"
? cs.order
= "NAME + ACTION"See Also