SDAC

TCustomDADataSet.BeforeFetch Event

Occurs before dataset is going to fetch block of records from the server.

Class

TCustomDADataSet

Syntax

property BeforeFetch: TBeforeFetchEvent;

Remarks

The BeforeFetch event occurs every time before dataset is going to fetch a block of records from the server. Set Cancel to True to abort current fetch operation.

Note: In TCustomMSDataSet.Options mode event handler is called from the fetching thread. Therefore, if you have set NonBlocking property to True, you should use thread synchronization mechanisms in the code of BeforeFetch event handler.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback