fastreport 4 and onuserfunction event

ibrahim bulutibrahim bulut turkey
edited 4:50PM in FastReport 4.0
Hi,
I am planning to upgrade fastreport 4
My fastreport version is 2,52

I always use onuserfunction event with 2,52 version
This event returns function name and 3 parameters

I couldn???t use this event with fastreport 4
I get this message ???error in expression, Myfunction([frxDbDataset1.???ID???)]???

I think i miss something about new version
How can i use this event

Comments

  • ibrahim bulutibrahim bulut turkey
    edited 4:50PM
    i have solve the problem
    developer's manuel explains custom functions

    frxReport1.AddFunction('Function MyFunc(S1: Integer; S2: String): String);

    this way is good
    in prior version, we have only 3 parameters, but now unlimited

    thanks to fastreport team

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.