IsFieldNull

PowerBuilder Native Interface

IPB_Session interface:

IsFieldNull method

Description

Returns true if the field of the specified object is a null value; otherwise it returns false.

Syntax

IsFieldNull(pbobject obj, pbfield fid)

Argument

Description

obj

A valid object handle for the object whose field is to be accessed

fid

The field ID of the specified object

Return Values

pbboolean.

Examples

These statements test whether the field identified by fid is null:

fid = session -> GetFieldID(cls, "i_val");
if (session -> IsFieldNull(myobj, fid))

See Also