Overview
Use the BC.EXPANDTABLERANGE to retrieve a list of tables available for querying in Business Central. You can then use the results in the Table argument of the BC.QUERYTABLE and BC.QUERYTABLEFILTER functions.
Syntax
=BC.EXPANDTABLERANGE(
ConnectionName,
Table
)
Parameters
|
Argument |
Required / Optional |
Description |
|---|---|---|
|
|
Optional |
Provide one of the following values:
OR Omit the argument to return results for all compatible connections with default aggregation settings. |
|
|
Optional |
A filter expression for table names. Supports Velixo filtering techniques. |
Example
=BC.EXPANDTABLERANGE("BC")
Description: Returns all queryable tables for the connection BC.