<< ibec_ds_Locate | IBEBlock | ibec_ds_Post >>

ibec_ds_Next

Positions the cursor on the next record in the dataset.

Syntax

  function ibec_ds_Next(Dataset : variant) : variant;

Description

Call ibec_ds_Next to position the cursor on the next record in the dataset and make it the active record.

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

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

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