Property Integer Row_Count
| Read Access: | Get Row_Count to IntegerVariable |
The Row_Count property returns the number of rows in a dbGrid-class object. The item_limit must be set to the number of items in a row for this message to work.
The property returns the current number of rows filled with data. So if the number of visible rows (which you can query with Displayable_Rows) is 5 and you can see 4 rows filled with data the Row_Count property returns 4. If the table contains more than 5 records, so that all rows in the dbGrid are filled, Row_Count will be equal to Displayable_Rows.
integer i iCount
get Row_Count to iCount
decrement iCount
For i From 0 to iCount
:
Loop