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

4 Error executing SQL command<br />

Note: This function does not return any records, regardless of the statement that is executed.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag ODBCExecuteSQL( 3, " )<br />

Tag ODBCExecuteSQL( 4, " )<br />

ODBCInsert<br />

Inserts a new record in the database.<br />

Function Group Execution Windows Embedded Thin Client<br />

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

Syntax<br />

ODBCInsert(numHandler)<br />

numHandler<br />

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

Returned value<br />

0 Success<br />

1 Invalid handler<br />

2 Database not open<br />

3 Insert error<br />

Notes<br />

This function uses the values of the tags bound by the ODBCBindCol function to create the new record.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag ODBCInsert( 7 )<br />

ODBCIsBOF<br />

Returns whether you have gone above the first record of the record set. (Call this function before scrolling<br />

from record to record.)<br />

Function Group Execution Windows Embedded Thin Client<br />

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

Syntax<br />

ODBCIsBOF(numHandler)<br />

numHandler<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!