Limits to use a custom function inside a FR5 report

FAlvaradoFAlvarado US/Mexico
edited 9:51PM in FastReport VCL 5
I can use a simple function inside an FR5 report:
function Test(AValue: String): String;
begin
  Result := '123456' + AValue;                                      
end;          
  
procedure Memo3OnBeforePrint(Sender: TfrxComponent);
begin
  Memo3.Text := Test('ABC');                                        
end;

But when I try to use a more complex function I receive this error:
'=' expected
My custom function is very similar to https://www.fast-report.com/en/forum/index....?showuser=60142, but in Spanish (FloatToWords)

I can't create the function in the executable because I don't have the code, only the FR3 file.

So, what are my options?
Best Regards
Francisco Alvarado

Comments

  • gpigpi
    edited 9:51PM
    wrote:
    So, what are my options?
    Create small demo project with error and send it to support@fast-report.com

Leave a Comment