Binds a column to a tag.
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
ODBCBindCol | ODBC | Synchronous | Supported | Not supported | Executed on Server |
ODBCBindCol( numHandler, strColName, strColType, strTagName )
0 | Success |
1 | Invalid Handler |
2 | Invalid parameter type |
3 | One of the parameters has an empty string |
4 | ColType contains an invalid type |
Every time you finish binding columns, you must call the ODBCQuery function.
Tag Name | Expression |
---|---|
Tag | ODBCBindCol( 5, "OrderDate", "SQL_DATE", "Order_Date" ) |
See also: ODBCUnbindCol()