<< ibec_ds_Post | IBEBlock | ibec_ds_SetField >>

ibec_ds_Prior

Positions the cursor on the previous record in the dataset.

Syntax

  function ibec_ds_Prior(Dataset : variant) : variant;

Description

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

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

See also:
SELECT ... AS DATASET
ibec_ds_Bof
ibec_ds_First
ibec_ds_Last
ibec_ds_Next

back to top of page
<< ibec_ds_Post | IBEBlock | ibec_ds_SetField >>