Jam.py documentation

eof

eof(self)

domain: server

language: python

class Item class

Description

Test eof (end-of-file) to determine if the cursor is positioned at the last record in an item dataset. If eof returns true, the cursor is unequivocally on the last row in the dataset. eof returns true when an application:

  • Opens an empty dataset.

  • Calls an item’s last method.

  • Call an item’s next method, and the method fails (because the cursor is already on the last row in the dataset).

eof returns false in all other cases.

Note

If both eof and bof return true, the item dataset is empty.