_Table.EndOfTable Property

Definition

Returns a Boolean (bool in C#) that indicates whether the current row is positioned after the last row in the Table object. Read-only.

public:
 property bool EndOfTable { bool get(); };
public bool EndOfTable { get; }
Public ReadOnly Property EndOfTable As Boolean

Property Value

Remarks

When you open a Table using GetTable(Object, Object), GetTable(), or Restrict(String), the value of EndOfTable depends on the number of rows in the Table. If there are no rows, EndOfTable returns True. If there are rows, EndOfTable returns False until the cursor moves beyond the last row in the Table.

The Table has two virtual Null rows, one before the first row and one after the last row in the Table. Each call to GetNextRow() moves the current row to the next row in the Table and returns a Row object that represents the current row.

The EndOfTable property returns True if the current row is after the last row and False if the current row is on or before the last row.

Applies to