FindQueries method: Session class
Syntax
FindQueries()
Description
The FindQueries method returns a reference to a Query collection, filled with zero or more queries.
Parameters
None.
Returns
A reference to a Query collection containing zero or more queries.
Example
In the following example, all available queries are returned:
Local ApiObject &MySession;
Local ApiObject &MyList;
&MySession = %Session
&MyList = &MySession.FindQueries();
FindQueries Considerations
FindQueries returns both public and private queries. It depends on your database whether the private query is returned first or the public query. If you have two queries with the same name, it depends on your database whether the first use of Item returns the private or the public query.