TMedDataset.MedPerfRC TMedDataset

function MedPerfRC: Integer;

Description

This method returns the number of records present in the table As opposed to RecordCount method MedPerfRC behaves correctly on tables with non-continuous (perforated) record numbering. In such a case RecordCount method returns the number of the last record, which may be different from the actual number of records present in the table.

Due to the high server load generated, MedPerfRC method should be used only in situations where it is really necessary. In most cases it is possible to use fast RecordCount function instead.