meta data for this page
  •  

ibec_ds_Last

Positions the cursor on the last record in the dataset.

Description

Call ibec_ds_Last to position the cursor on the last record in the dataset and make it the active record.

Syntax

  function ibec_ds_Last(Dataset : variant) : variant;

Example

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

  ibec_ds_Last(MyDataset);
  while (not ibec_ds_Bof(MyDataset)) do
  begin
    ...
    ibec_ds_Prior(MyDataset);
  end

  ...

  close dataset MyDataset;
end

Examples