Expression in Expression
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 :
i want report : "first with second item".
Thanks
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