RowCount property
- Last UpdatedJul 19, 2024
- 1 minute read
The RowCount property is a read-only integer property that gets the number of records shown in the Alarm Control grid.
For current alarms (and recent alarms and events), the RowCount property value is always the same as the TotalRowCount property value.
For historical alarms, if the Alarm Control retrieves more alarm records than specified by the MaxDatabaseRecords property value, it splits these into multiple pages.
The RowCount property shows how many alarm records are currently shown on the current page. The RowCount property value is the same as the MaxDatabaseRecords property value, with exception of the last page.
Syntax
Result = AlarmClient.RowCount;
Example
NRows = AlarmClient1.RowCount;
LogMessage("There are " + Text(NRows, "#") + " alarm records on the retrieved page.");