Table of Contents

TCustomAureliusDataset.SetSourceCursor Method

Sets an open database cursor as the source of data for this dataset, enabling record-by-record fetch-on-demand.

Remarks

The cursor remains open until all records are fetched or the dataset is closed. The dataset does not need to be open before calling this method, but must be inactive.

Syntax

Unit: Aurelius.Bind.Dataset

procedure TCustomAureliusDataset.SetSourceCursor(Cursor: ICriteriaCursor);

Parameters

<-> Parameter Type Description
Cursor ICriteriaCursor The open ICriteriaCursor to read objects from. The cursor is consumed incrementally as the dataset navigates forward.

See also