Empty()

<< Click to Display Table of Contents >>

Navigation:  Index >

Empty()

Previous pageReturn to chapter overviewNext page

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.