ibec_ds_Last
Positions the cursor on the last record in the dataset.
Syntax
function ibec_ds_Last(Dataset : variant) : variant;
Description
Call ibec_ds_Last to position the cursor on the last 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
Examples
Dataset example
SELECT ... AS DATASET
ibec_ds_Bof
ibec_ds_First
ibec_ds_Next
ibec_ds_Prior
back to top of page
<< ibec_ds_Insert | IBEBlock | ibec_ds_LoadFromFile >>