Article Details
Id: | 13210 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 2.03.02 |
Opened: | 17/08/2015 |
Closed: | 17/08/2015 |
Released: | 01/09/2015 |
Job: | J016095 |
ISSummaryTable (as used in Summary Page 2s); new "HasData" property added to ISSummaryTable
A new "HasData" property has been added to ISSummaryTable, which is used in Summary Page 2 scripts.
This allows you to easily check whether a Summary Table has any data and therefore whether to add it to the collection of tables returned.
For example, the following simplistic code
If SummaryTableKey.Rows.Count <> 0 Then SummaryTables.Add("Key", SummaryTableKey)
can be replaced by:
If SummaryTableKey.HasData Then SummaryTables.Add("Key", SummaryTableKey)
The issue with the old method was that Before, After and Right Text should also be checked for values.