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 />

Returned value<br />

0 Record found.<br />

non-zero<br />

Record set contains no records or you moved forward, after the last record.<br />

You can use this function along with the ODBCIsBOF function to determine whether the record set contains<br />

any records or is empty. Immediately after calling the ODBCQuery function, and if the record set contains no<br />

records, ODBCIsBOF returns non-zero. When you open a record set with at least one record, the first record<br />

is the current record and ODBCIsEOF returns a zero (0). If the last record is the current record, and you call<br />

ODBCMoveNext, ODBCIsEOF will subsequently return a non-zero.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag ODBCIsEOF( 5 )<br />

ODBCIsFieldNULL<br />

Reports whether a specified field in a record set was flagged as NULL.<br />

Function Group Execution Windows Embedded Thin Client<br />

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

Syntax<br />

ODBCIsFieldNULL(numHandler,strColName)<br />

numHandler<br />

strColName<br />

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

The column name.<br />

Returned value<br />

0 The specified field is not flagged as Null.<br />

Non-Zero<br />

The specified field is flagged as Null.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag ODBCIsFieldNULL( 7, "CustomerName" )<br />

Tag ODBCIsFieldNULL( 3, "CompanyName" )<br />

ODBCIsFieldNullable<br />

Reports whether a specified field is nullable (i.e., can be set to a NULL value).<br />

Function Group Execution Windows Embedded Thin Client<br />

ODBCIsFieldNullable<br />

Synchronous Supported Not supported Executed on Server<br />

Syntax<br />

ODBCIsFieldNullable(numHandler,strColName)<br />

numHandler<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!