Empty()

Top  Previous  Next

Purpose

To determine if a field or variable contains a empty value

Syntax

Empty( <xValue> ) lResult

Argument

<xValue> is the value to check and can be any data type.

Returns

Empty() returns true if the value is empty; otherwise, it returns false.

 

Data Type

 Empty Values

Character

 Spaces, tabs or "" (empty string)

Numeric

 

Date

 NULL

Logical

 .f.