IsEOF Method

Applies to TestComplete 15.70, last modified on December 17, 2024

Description

A project, project suite or keyword test variable of the DB Table type provides access to a data storage and lets you iterate through data rows of this storage. The IsEOF method specifies whether the iterator is at the end of the storage and further iteration is impossible.

Declaration

DBTableVariableObj.IsEOF()

DBTableVariableObj An expression, variable or parameter that specifies a reference to a DBTableVariable object
Result Boolean

Applies To

The method is applied to the following object:

Result Value

If the iterator is at the end of the storage (after the last row), the method returns True; otherwise, it returns False.

Remarks

Use the IsEOF method along with the Reset and Next methods to iterate through data rows. Reset sets the iterator to the initial position. Next forwards the iterator to the next row.

Example

For an example of the IsEOF method's use, see Variables of the DB Table Type.

See Also

Variables of the DB Table Type
Reset Method
Next Method

Highlight search results