EK RTF report components for .Net
PreviousUpNext
EkBaseReport.CreateVar Method (string, Double)
Pascal
procedure CreateVar(Name: string; Value: Double); overload;
C#
public CreateVar(string Name, Double Value);
Visual Basic
Public Sub CreateVar(Name As string, Value As Double)

Creates report variable using the Value of certain type and variable Name. 

If report variable with given Name already exists, you'll get an exception with message 'Can't add report variable ...'. 

To manipulate with existing report variables in code use function VarByName.

Copyright (c) 2007. All rights reserved.