Occurs before dataset is going to fetch block of records from the server.
property BeforeFetch: TBeforeFetchEvent;
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 the TOraDataSet.NonBlocking mode event handler is called from the fetching thread. Therefore, if you have set the NonBlocking property to True, you should use thread synchronization mechanisms in the code of the BeforeFetch event handler.