SQL_IsFieldNull Function

Returns whether a field's data in the current row of a result set is NULL or not. NULL is an SQL type which means "no data."

bool SQL_IsFieldNull(Handle query, int field)

Parameters

Handle query

A query (or statement) Handle.

int field

The field index (starting from 0).

Return Value

True if data is NULL, false otherwise.

Errors

Invalid query Handle or field index, or no current result set.