TABLE_IS_EMPTY Function
Syntax
Result_Flag as L = table_is_empty(* table )
Arguments
- Result_Flag
.F. = Table is not empty, .T. = Table is empty.
- table
The name of an Alpha Table table.
Description
Returns .t. if a table is empty. You can pass in the name of a table, or a pointer to an open table.
Discussion
The TABLE_IS_EMPTY() function determines whether a table contains any records.
Example
dim tbl as P tbl = table.open("customer") ? table_is_empty(tbl) = .F.
See Also