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

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.