Class
HtmlColumn and
HtmlTable.
Action
Returns the number of rows in a column or table.
Availability
This functionality is supported only if you are using the Classic Agent.
Syntax
iRowCount = object.GetRowCount()
Variable
|
Description
|
iRowCount
|
The number of rows in the specified column or table.
INTEGER.
|
Notes
HTML table column headings are not considered to be table data, and therefore will not be returned by
GetRowCount().
Examples
The following examples use the Catalog table on the
Online Catalog page in the GMO Web application.
Example 1
Specifying a column:
INTEGER iCount
iCount = CatalogPage.CatalogTable.ItemName.GetRowCount()
Print(iCount)
// Result:
// 6
Example 2
Specifying a table:
INTEGER iCount
iCount = CatalogPage.CatalogTable.GetRowCount()
Print(iCount)
// Result:
// 6