Breadcrumbs

BC.EXPANDTABLERANGE

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

ConnectionName

Optional

Provide one of the following values:

OR

Omit the argument to return results for all compatible connections with default aggregation settings.

Table

Optional

A filter expression for table names. Supports Velixo filtering techniques.

Example

=BC.EXPANDTABLERANGE("BC")

Description: Returns all queryable tables for the connection BC.

image-20251229-135235.png