Click or drag to resize

EmptyField Function

Determine if the specified field in the current workarea is empty.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION EmptyField(
	n AS DWORD
) AS LOGIC

Parameters

n
Type: UInt32

Return Value

Type: Boolean
TRUE when the field is empty. FALSE when there is no workarea open or when the field is not empty.
Remarks
You can empty a string field by writing it with spaces and a date field by writing a NULL_DATE. Numeric and Logical fields cannot be cleared once they contain data.
See Also