Table of Contents

Method AddCalculatedField

Namespace
ReportWright.Design
Assembly
ReportWright.Design.dll

AddCalculatedField(string, string, string)

Adds a calculated field (a Value expression instead of a DataField), as one entry.

public RdlElement AddCalculatedField(string dataSetName, string name, string expression)

Parameters

dataSetName string

The dataset.

name string

The field name; made unique within the dataset.

expression string

The expression, for example =Fields!Price.Value * Fields!Quantity.Value.

Returns

RdlElement

The Field element.