FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TCustomFlexCelReport.Values Property

List of custom values to replace at runtime.

Pascal
property Values: TFlxPropList;
C++
__property TFlxPropList Values;

This property allows you an easy way to pass values from your code to the report. For example, the line 

 

FlxReport.Values['Current_Date']:=now;

 

will replace the tag "#.Current_Date" in the template with today's date. 

 

Note that this property does the same as a published property. If you define both a published property "Current_date" and a Value['Current_Date'], the Value will be used. 

 

You can use this property always that you can use a published property, even with array of variants. 

 

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!