Count number of rows

#count number of rows

#total row count
myTable = Document.ActiveDataTableReference
total = myTable.RowCount

#filtered rows
visible = Document.ActiveFilteringSelectionReference.GetSelection(myTable).IncludedRowCount

#excluded rows
filtered = total - visible


print myTable.Name," total: ",total," visible:",visible, " filtered:",filtered


Previous
Next Post »