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

Examples<br />

Tag Name<br />

Expression<br />

Tag ODBCCanUpdate( 6 )<br />

ODBCClose<br />

Closes a connection to the database.<br />

Function Group Execution Windows Embedded Thin Client<br />

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

Syntax<br />

ODBCClose(numHandler)<br />

numHandler<br />

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

Returned value<br />

0 Success<br />

1 Invalid Handler<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag ODBCClose( 5 )<br />

ODBCCommitTrans<br />

Commits a transaction. Call this function upon completing transactions.<br />

Function Group Execution Windows Embedded Thin Client<br />

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

Syntax<br />

ODBCCommitTrans(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 Error committing transaction<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag ODBCCommitTrans( 1 )<br />

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

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

Saved successfully!

Ooh no, something went wrong!