NEW3.00.01 · Released 10 August 2016
NEWfinPOWER Connect
Released in
3.00.01
10 August 2016
- Opened11 Jul
- Closed11 Jul
- Released10 Aug
Article 13934
Job J017700
Summary Tables; new helper functions to add a blank Summary Table
Add helper functions to ISSummaryTables:
- AddSummaryTableBlank
- CreateSummaryTableBlank
These functions create and/ or add a blank Summary Table, returning the resultant ISSummaryTable object.
Examples of usage:
SummaryTableSigners = SummaryTables.CreateSummaryTableBlank("Signers", "{{info|No Signers listed.}}", "Signers", 3)SummaryTables.Add("Signers", SummaryTableSigners)SummaryTables.AddSummaryTableBlank("Signers", "{{info|No Signers listed.}}", "Signers", 3)
This replaces helper functions that were part of the standard script code in some built-in Summary Pages. For example:
SummaryTableSigners = Me.AddSummaryTableNoData("Signers", "No Signers listed.", "Signers", 3)Private Function AddSummaryTableNoData(caption As String,text As String,captionId As String,captionHeadingLevel As Integer) As ISSummaryTable' InitialiseAddSummaryTableNoData = finBL.CreateSummaryTable()With AddSummaryTableNoData.Caption = captionIf Len(captionId) <> 0 Then.CaptionId = captionIdEnd If.CaptionHeadingLevel = captionHeadingLevel.TextBefore = "{{info|" & text &"}}".WidthHtml = "auto"End WithEnd Function
Note, the new functions do not automatically place the text into an "info" template.