ODBCQuery

Retrieves the currently selected record from a database.

Function Group Execution Windows Embedded Thin Client
ODBCQuery ODBC Synchronous Supported Not supported Executed on Server

Syntax

ODBCQuery(numHandler)
numHandler
The handler returned by the ODBCOpen function.

Returned value

0 Success
1 Invalid handler
2 No columns bound
3 Cannot open database
4 Cannot restart database
5 Query error

Notes

If you modify the column binding, or if you modify the filter and sort, then you must call this function again.

Examples

Tag Name Expression
Tag  ODBCQuery( 6 )