Access tables and queries
xlide_access_catalogLists Access tables, columns, saved queries with SQL, and relationships to show full schema beyond VBA code. Use it to page through large catalogs or inspect table links.
Instructions
Lists what an Access database holds besides its code: tables with their columns, saved queries with their SQL, and the relationships between tables. An .accdb is an application rather than a document, and the VBA in it is written against these, so reading the modules alone shows half of it. Use include with offset and next_offsets to page through a large catalog. Long query SQL is previewed; use xlide_read_access_query for the whole text. If one query's SQL cannot be read, that entry has sql=null and sql_error rather than hiding the catalog. Access files only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Items to skip in each list. | |
| include | No | 'tables', 'queries', 'relationships' or 'all'. | all |
| file_path | Yes | Absolute path to the Access database. | |
| max_results | No | Most items per list. | |
| include_system | No | Include the MSys tables and relationships Access keeps its own objects in. Off by default: every database has them, and listing them buries the few that are about the user's data. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||