Problem - Add Function
Hi ,
In the memo i wrote [test]
The Problem : When Run the Memo Text is Blank Not write the result of test .
same problem with function with param .
function Tfr_main.test: string;
begin
Result := 'Hi';
end;
function Tfr_main.re_one_dayUserFunction(const MethodName: string;
  var Params: Variant): Variant;
begin
if MethodName = 'test' then
Result := test ;
end;
frxReport2.AddFunction('Function test : String;', 'My functions', 'The MyFunc function always returns True');
frxReport2.OnUserFunction := frxReport2.OnUserFunction;
In the memo i wrote [test]
The Problem : When Run the Memo Text is Blank Not write the result of test .
same problem with function with param .
Comments
that would be how to display a variable named test
you require a parameter for your function.
[test(param)]
No Param in function test .
I test other function same this
I wrote in memo [test('newtest')]
Same problem.