EOF Property

Object List Next Object

Defined By:
Dynaset

Description:

Indicates whether the CurrentRecord is the last record in the Dynaset. If it is at the End Of File (EOF), it is after the last record.

Settings:


Setting Description


True Current record position is at the end of file.

False Current record position is a valid record.

Details:

Use EOF after using the MoveNext method to make sure you stay within the bounds of your underlying database as you move between records.

When you create or open a Dynaset that consists of one or more records, the first record is the current record, so EOF is False. BOF and EOF are both True when there are no records in the Dynaset.

Data Type: Boolean

See Also:

BOF property, EOF property, MoveFirst, MovePrev, MoveNext, MoveLast methods, NoMatch property