<< ibec_ds_Eof | IBEBlock | ibec_ds_Export >>

ibec_ds_Bof

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

Syntax

  function ibec_ds_Bof(Dataset : variant) : Boolean;

DescriptiAon

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

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_Eof
ibec_ds_First
ibec_ds_Last
ibec_ds_Next
ibec_ds_Prior

back to top of page
<< ibec_ds_Eof | IBEBlock | ibec_ds_Export >>