ODBCDelete

Deletes the current record.

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

Syntax

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

Returned value

0 Success
1 Invalid handler
2 Database not open
3 Delete error

Notes

After a successful deletion, you must explicitly call one of the "move" functions (i.e., ODBCMove, ODBCMoveFirst, ODBCMoveLast, ODBCMoveNext, ODBCMovePrev) to move off the deleted record.

Examples

Tag Name Expression
Tag ODBCDelete( 5 )