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

  • 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.

See Also

Reference

SqlDataDictionary Class