Usage of Variables

I add some float Variables to the Report

Code snippe :

procedure AddFrxVariable( fReport : TFrxReport; sVarName : String; Value : Variant );
fReport.Variables.Variables[ sVarName ] := Value;
fReport.Script.Variables[ sVarName ] := Value;
...


but every time, if i want to use them in an Memo like [VarName], i get an Exception
"...Memoxxx, Error in expression 48,9792".

The Value is correctly assigned with 48.9792 and the same Exception also come, if this value is assign as an quoted formated string.

The only way, to use them, is an conversion into an integer and recalculation in the report !

Is this an Bug or an undocumented Feature.

Version 3.24 on an German XP SP2


Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.