meta data for this page
  •  

ibec_ds_Eof

Indicates whether or not a cursor is positioned at the last record in a dataset.

Description

Call ibec_ds_Eof to determine if the cursor is positioned at the last record in a dataset. If ibec_ds_Eof returns True, the cursor is unequivocally on the last row in the dataset. Otherwise this function returns False.

Syntax

  function ibec_ds_Eof(Dataset : variant) : Boolean;

Example

execute ibeblock
as
begin
  select * from RDB$FIELDS as dataset MyDataset;

  while (not ibec_ds_Eof(MyDataset)) do
  begin
    ...
    ibec_ds_Next(MyDataset);
  end

  ...

  close dataset MyDataset;
end