ODBCIsEOF

Reports whether you have gone beyond the last record of the record set. (Call this function as you scroll from record to record.)

Function Group Execution Windows Embedded Thin Client Mobile Access
ODBCIsEOF ODBC Synchronous Supported Not supported Executed on Server Not supported

Syntax

Web Studio Help s2fr function odbc odbciseof.xml d178853e76 ODBCIsEOF
numHandler
The handler returned by the ODBCOpen function.

Returned value

0 Record found.
non-zero Record set contains no records or you moved forward, after the last record.

You can use this function along with the ODBCIsBOF function to determine whether the record set contains any records or is empty. Immediately after calling the ODBCQuery function, and if the record set contains no records, ODBCIsBOF returns non-zero. When you open a record set with at least one record, the first record is the current record and ODBCIsEOF returns a zero (0). If the last record is the current record, and you call ODBCMoveNext, ODBCIsEOF will subsequently return a non-zero.

Examples

Tag Name Expression
Tag ODBCIsEOF( 5 )

ODBCIsEOF