CRField::isNull
Previous  Index  Next

bool isNull();

Return Value

True if the current field is a NULL value.

Description

Call this member function to determine whether the field in the current record is NULL or not.

Example

  if (!dataset.field("DeptNo").isNull())
    deptNo = dataset.field("DeptNo").getInt();

See Also

CRField::setNull


CRField | Classes | OCL | Index