Page 1 of 1

How can I Define a custom function in Designer

Posted: Wed Nov 21, 2018 1:06 am
by simon ren
hi, I try to define a custom function in my report,i use the following code define the custom function, it show in the Dictionary's function,then i use my function in my report.
when i run preview.i found if my function has parameters it does't work,if my function has no parameters it work well.i don't know how to deal with this problem.
thanks

Code: Select all

Stimulsoft.Report
              .Dictionary
              .StiFunctions
              .addFunction('Test', 'Test', 'TestFunc', '测试Function', Stimulsoft.System.Int32, Stimulsoft.System.Int32,
              '测试Function',[Stimulsoft.System.Int32], ['i'], ['测试'],function(i){
                return 123;
              });

Re: How can I Define a custom function in Designer

Posted: Thu Nov 22, 2018 2:33 pm
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue.

Thank you.

#7453

Re: How can I Define a custom function in Designer

Posted: Tue Mar 19, 2019 7:42 am
by Lech Kulikowski
Hello,

The issue is fixed. The fix will be available in the next release build.

Thank you.