Help Center

CODBCStmt.ColIsNullmethod

Checks if the column is null.

DatabasesmethodCODBCStmt.incdocumented

Syntax

FUNCTION ColIsNull (BYVAL ColNum AS SQLUSMALLINT) AS BOOLEAN

Parameters

NameDescription
ColNumColumn number.

Return value

TRUE or FALSE

Result code (GetLastResult)

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_NO_DATA, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.

Description

Checks if the column is null. Should not be used with a column that is currently binded to a variable or buffer or it will return an error. The binding functions already return an indicator in the last parameter.

Reference

  • Include file CODBCStmt.inc
  • Defined in AfxNova/COdbcStmt.inc:377
  • Documented in Databases/ODBC Classes/CODBCStmt Class.md
  • Topic: CODBCStmt Class