ODBCSetFieldNULL

Flags a field data member in the record set as NULL (specifically having no value) or as non-NULL.

Function Group Execution Windows Embedded Thin Client Mobile Access
ODBCSetFieldNULL ODBC Synchronous Supported Not supported Executed on Server Not supported

Syntax

  ODBCSetFieldNULL( numHandler, strColName, numValue )  
numHandler
The handler returned by the ODBCOpen function.
strColName
The column name.
numValue
A numeric tag that specifies the field data as NULL if 0 and non-NULL if non-zero.

Returned value

0 Success
1 Invalid handler
2 Database not open
3 Invalid parameter
4 Invalid column name

Examples

Tag Name Expression
Tag ODBCSetFieldNULL( 2, “Price”, 1 )
Tag ODBCSetFieldNULL( 4, “CompanyName”, 0 )

ODBCSetFieldNULL