ReportBuilderDimensions.Count
Syntax:
Returned value:
Description:
Availability:
Example:
// ReportsBuilder - report attribute of ReportBuilder type AvailableDimensions = New Map; If Not UseTamplate Then For IndexOf=0 To ReportsBuilder.AvailableFields.Count()-1 Do Field = ReportsBuilder.AvailableFields[IndexOf]; If Field.Dimension Then AvailableDimensions.Insert(Field.Name, Field.Presentation); EndIf; EndDo; For IndexOf=0 To ReportsBuilder.RowDimensions.Count()-1 Do Dimension = ReportsBuilder.RowDimensions[IndexOf]; AvailableDimensions.Delete(Dimension.Name); EndDo; For IndexOf=0 To ReportsBuilder.ColumnDimensions.Count()-1 Do Dimension = ReportsBuilder.ColumnDimensions[IndexOf]; AvailableDimensions.Delete(Dimension.Name); EndDo; EndIf; |