John,
- Compile a list of all your queries and feed them as a selection to the COMPID field in the RSRREPDIR table.
- Take the GENUNIID from the table result and use it as input to the GENUNIID field for the table RSRWORKBOOK. This should give you a list of workbooks associated with your Queries.
- Use the above result and feed as input to WORKBOOKID field of table RSRWBINDEXT to get the Workbook Desricptions.
Hope this helps.
-Sid