internal void AggregateInitialize(string dataSetName, ObjectType objectType, string objectName, string propertyName, InitializationContext context) { context.AggregateCheckFieldReferences(m_referencedFields, dataSetName, objectType, objectName, propertyName); context.AggregateCheckReportItemReferences(m_referencedReportItems, objectType, objectName, propertyName); context.AggregateCheckDataSetReference(m_referencedDataSets, objectType, objectName, propertyName); context.AggregateCheckDataSourceReference(m_referencedDataSources, objectType, objectName, propertyName); context.MergeFieldPropertiesIntoDataset(this); context.FillInFieldIndex(this, dataSetName); context.ExprHostBuilder.AggregateParamExprAdd(this); }
internal void GroupExpressionInitialize(InitializationContext context) { context.CheckFieldReferences(m_referencedFields, "Group"); context.CheckReportItemReferences(m_referencedReportItems, "Group"); context.CheckReportParameterReferences(m_referencedParameters, "Group"); context.CheckDataSetReference(m_referencedDataSets, "Group"); context.CheckDataSourceReference(m_referencedDataSources, "Group"); context.MergeFieldPropertiesIntoDataset(this); context.FillInFieldIndex(this); context.TransferGroupExpressionRowNumbers(m_runningValues); }
internal void Initialize(string propertyName, InitializationContext context) { context.CheckFieldReferences(m_referencedFields, propertyName); context.CheckReportItemReferences(m_referencedReportItems, propertyName); context.CheckReportParameterReferences(m_referencedParameters, propertyName); context.CheckDataSetReference(m_referencedDataSets, propertyName); context.CheckDataSourceReference(m_referencedDataSources, propertyName); if ((LocationFlags.InMatrixCellTopLevelItem & context.Location) != 0 && m_referencedFields != null) { context.ErrorContext.Register(ProcessingErrorCode.rsNonAggregateInMatrixCell, Severity.Warning, context.ObjectType, context.ObjectName, propertyName); } context.FillInFieldIndex(this); context.TransferAggregates(m_aggregates, propertyName); context.TransferRunningValues(m_runningValues, propertyName); context.MergeFieldPropertiesIntoDataset(this); context.FillInTokenIndex(this); m_referencedFieldProperties = null; }