18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix: Built-in Scripting Language<br />

strTagName<br />

• SQL_TINYINT<br />

• SQL_LONGVARCHAR<br />

• SQL_CHAR<br />

• SQL_VARCHAR<br />

• SQL_DECIMAL<br />

• SQL_NUMERIC<br />

• SQL_DATE<br />

• SQL_TIME<br />

• SQL_TIMESTAMP<br />

• SQL_DOUBLE<br />

• SQL_REAL<br />

• SQL_SMALLINT<br />

• SQL_INTEGER<br />

The name of the tag to bind to the column.<br />

Returned value<br />

0 Success<br />

1 Invalid Handler<br />

2 Invalid parameter type<br />

3 One of the parameters has an empty string<br />

4 ColType contains an invalid type<br />

Notes<br />

Every time you finish binding columns, you must call the ODBCQuery function.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag ODBCBindCol( 5, "OrderDate", "SQL_DATE", "Order_Date" )<br />

See also: ODBCUnbindCol()<br />

ODBCCanAppend<br />

Returns whether the database will allow you to add new records.<br />

Function Group Execution Windows Embedded Thin Client<br />

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

Syntax<br />

ODBCCanAppend(numHandler)<br />

numHandler<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!