Limits to use a custom function inside a FR5 report

FAlvaradoFAlvarado US/Mexico
edited 6:23PM 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 6:23PM
    wrote:
    So, what are my options?
    Create small demo project with error and send it to support@fast-report.com

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.