VirtualDAC

TVirtualDataSet.OnGetRecordCount Event

Occurs when a virtual dataset queries the number of records.

Class

TVirtualDataSet

Syntax

property OnGetRecordCount: TOnGetRecordCountEvent;

Remarks

Write the OnGetRecordCount event handler to let the virtual dataset know, how many records it contains. Since virtual dataset does not store a data, when opening it fires the event to determine how many records will be kept in it. Then the virtual dataset will ask for the value of each field, using a OnGetFieldValue event handler.

See Also

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