Takes no parameters
Description:
ListQueries will Reset the current Work Query and populate it with details about each of the queries in the current memory scope. This is especially helpful for debugging purposes. The following details are returned as separate Field values for each Query:
Example:
In the example below we create a new query named Debugging and set it as our current work query so that we can retain our previous work query's field names and record count. We then call ListQueries and output our current memory scope.
Rem 'Debugging
NewQuery "Debugging", "", "y"
ListQueries
HtmlTable
EndRem