Page 1 of 1
How to call user defined function in module from stimulsoft report ?
Posted: Fri Mar 11, 2011 9:53 am
by stvhui
Hello to you,
I'm using VB.NET 2005, Stimulsoft Report 2010.1
I develop in WinForm Platform.
I'm newbie using Stimulsoft Report.
Let say, I have created simple functions in VB.NET module (not class)
How to call the function from report?
Please advice & guide me step by step, or would you mind to send a sample code.
Thanks in advance.
Regards,
Steven
email :
stvhui@yahoo.com
How to call user defined function in module from stimulsoft report ?
Posted: Mon Mar 14, 2011 2:04 am
by Alex K.
Hello,
As a way, you can put your simple functions in report on tab "Code".
Thank you.
How to call user defined function in module from stimulsoft report ?
Posted: Fri Apr 29, 2011 3:47 am
by hotcat
Hi
I can find the Page1 and Preview,But can't find the Code
Steven
How to call user defined function in module from stimulsoft report ?
Posted: Fri Apr 29, 2011 4:42 am
by Alex K.
Hello,
Please see screenshot in attachment.
Thank you.
How to call user defined function in module from stimulsoft report ?
Posted: Fri Oct 28, 2011 10:22 am
by RichFinnegan
This showed me how to use user defined functions, but are they callable from inside a databand? In a text block it works fine but in a databand connected to a buisnessobject it doesn't.
regards
Richard
How to call user defined function in module from stimulsoft report ?
Posted: Mon Oct 31, 2011 2:46 am
by Ivan
Hello,
We couldn't reproduce this issue.
Can you please send us a sample report template with data or a simple test project, which reproduces the issue?
Thank you.
How to call user defined function in module from stimulsoft report ?
Posted: Mon Nov 07, 2011 6:07 am
by RichFinnegan
Hi,
Sorry about the delayed reply. I was on holiday. What you can use is the samples\CSharp\Pure\BusinessObjects example. All I did was to add the following code:
public string MyFunc()
{
return "XYZ";
}
and then change one column entry to {MyFunc()}. If you run the example nothing will be displayed in this column. If its important I'm using the Silverlight trial Version 2011.2.1100/19.09.2011.
Thanks.
How to call user defined function in module from stimulsoft report ?
Posted: Tue Nov 08, 2011 3:07 am
by HighAley
RichFinnegan wrote:Sorry about the delayed reply. I was on holiday. What you can use is the samples\CSharp\Pure\BusinessObjects example. All I did was to add the following code:
public string MyFunc()
{
return "XYZ";
}
and then change one column entry to {MyFunc()}. If you run the example nothing will be displayed in this column. If its important I'm using the Silverlight trial Version 2011.2.1100/19.09.2011.
Unfortunately, user functions isn't supported by Silverlight.
Thank you.
How to call user defined function in module from stimulsoft report ?
Posted: Tue Nov 08, 2011 3:32 am
by RichFinnegan
Thanks for the reply. We came to this conclusion aswell. We wanted to write
additional functions to access dynamic properties. They are stored in a
dictionary. Is this possible and if so how? Is it possible to extend
the list of internal functions available by registering an external function
with the report designer? Both questions assume use of the silverlight version
of the designer/viewer.
Thanks.
How to call user defined function in module from stimulsoft report ?
Posted: Tue Nov 08, 2011 8:52 am
by HighAley
Hello.
RichFinnegan wrote:Thanks for the reply. We came to this conclusion aswell. We wanted to write
additional functions to access dynamic properties. They are stored in a
dictionary. Is this possible and if so how? Is it possible to extend
the list of internal functions available by registering an external function
with the report designer? Both questions assume use of the silverlight version
of the designer/viewer.
At this moment it is impossible, because parser doesn't support third-party call methods.
If we'll make something in this area, we will let you know.
Thank you.