Page 1 of 1

can i add custom function and external object?

Posted: Fri Aug 08, 2008 4:27 am
by progame
sometimes, i need get data by my custom function, and i want to set text to be:
{MyFunction("aaa")}

or
MyObject.Function("aaa")

how to pass those functions and objects to report script?

can i add custom function and external object?

Posted: Fri Aug 08, 2008 6:05 pm
by Vital
Hello,

Add reference to your assembly in ReferencedAssemblies of StiReport. After then add using statement to report code. After then you can use your static functions as:

Code: Select all

{MyObject.Function("aaa")}
Thank you.