VSFlexGrid Control > VSFlexGrid Properties, Events, and Methods > VSFlexGrid Events > BeforeDataRefresh Event |
Fired before reading data from the record source.
Private Sub VSFlexGrid_BeforeDataRefresh(Cancel As Boolean)
This event is fired when the control is bound to a recordset, immediately before a batch of data is loaded.
You may trap this event and prevent the data from being loaded if you wish. You may later force the data to be loaded by using the DataRefresh method.