fastreport 4 and onuserfunction event

ibrahim bulutibrahim bulut turkey
edited 4:40AM 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:40AM
    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