Expression in Expression

edited April 2014 in FastReport 4.0
Hi,
How can we use Expression in Value when report get value event .

Example :

i have one MemoView in report with Text "[a]" ,

and GetValue event of report is :
procedure TForm1.rep1GetValue(const VarName: string; var Value: Variant);
begin
  if(VarName = 'a') then
    Value:= 'first with [b] item'
  else if VarName = 'b' then
    Value:= 'second';
end;

i want report : "first with second item".

Thanks

Leave a Comment