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

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.