SqlDataDictionary.tableEmpty Method
Returns true if table is not empty; otherwise false.
Syntax
public boolean tableEmpty(
TableId tableId,
[str company,
boolean not_this_company])
Run On
Server
Parameters
- tableId
Type: TableId Extended Data Type
- company
Type: str
The name of the company that data should be checked; optional. By default, ALL.
- not_this_company
Type: boolean
If true exludes records that belongs to the company from the query; optional. By default, false.
Return Value
Type: boolean
true if the table empty; otherwise, false.