meta data for this page
ibec_ds_Bof
Indicates whether or not a cursor is positioned at the first record in a dataset.
Description
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.
Syntax
function ibec_ds_Bof(Dataset : variant) : Boolean;
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