Click or drag to resize

VoDbEof Function

X#
Determine when end-of-file is encountered.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION VoDbEof() AS LOGIC
Request Example View Source

Return Value

Type: Logic
TRUE when an attempt is made to move the record pointer beyond the last logical record in a database file or if the current database file contains no records; otherwise, FALSE.
If there is no database file open in the current work area, VODBEOF() returns TRUE.
Remarks
VODBEOF() is the same as EOF(). This function, however, does not call the error handler and will not, therefore, produce a runtime error message or create an error object if it fails. Thus, it may be important to check the return value to determine if the function succeeded.
the LastRddError property in the runtime state. will contain needed information regarding any error that occurs.
See EoF() for more information and an example.
Examples