18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix: Built-in Scripting Language<br />

ODBCSetFieldNULL<br />

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

Function Group Execution Windows Embedded Thin Client<br />

ODBCSetFieldNULLODBC Synchronous Supported Not supported Executed on Server<br />

Syntax<br />

ODBCSetFieldNULL( numHandler, strColName, numValue )<br />

numHandler<br />

strColName<br />

numValue<br />

The handler returned by the ODBCOpen function.<br />

The column name.<br />

A numeric tag that specifies the field data as NULL if 0 and non-NULL if non-zero.<br />

Returned value<br />

0 Success<br />

1 Invalid handler<br />

2 Database not open<br />

3 Invalid parameter<br />

4 Invalid column name<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag ODBCSetFieldNULL( 2, "Price", 1 )<br />

Tag ODBCSetFieldNULL( 4, "CompanyName", 0 )<br />

ODBCSetFilter<br />

Constrains the records selected in a database.<br />

Function Group Execution Windows Embedded Thin Client<br />

ODBCSetFilter ODBC Synchronous Supported Not supported Executed on Server<br />

Syntax<br />

ODBCSetFilter(numHandler,strFilter)<br />

numHandler<br />

strFilter<br />

The handler returned by the ODBCOpen function.<br />

The a SQL WHERE clause.<br />

Returned value<br />

0 Success<br />

<strong>InduSoft</strong> Web Studio Page 703

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!