meta data for this page
  •  

ibec_ds_Prior

Positions the cursor on the previous record in the dataset.

Description

Call ibec_ds_Prior to position the cursor on the previous record in the dataset and make it the active record.

Syntax

  function ibec_ds_Prior(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