How to call user defined function in module from stimulsoft report ?
How to call user defined function in module from stimulsoft report ?
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
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 ?
Hello,
As a way, you can put your simple functions in report on tab "Code".
Thank you.
As a way, you can put your simple functions in report on tab "Code".
Thank you.
- Attachments
-
- 881.SampleReport.mrt
- (3.32 KiB) Downloaded 638 times
How to call user defined function in module from stimulsoft report ?
Hi
I can find the Page1 and Preview,But can't find the Code
Steven
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 ?
Hello,
Please see screenshot in attachment.
Thank you.
Please see screenshot in attachment.
Thank you.
- Attachments
-
- 950.Screen.png (103.4 KiB) Viewed 4978 times
-
- Posts: 23
- Joined: Fri Sep 23, 2011 4:43 am
- Location: Germany
How to call user defined function in module from stimulsoft report ?
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
regards
Richard
How to call user defined function in module from stimulsoft report ?
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.
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.
-
- Posts: 23
- Joined: Fri Sep 23, 2011 4:43 am
- Location: Germany
How to call user defined function in module from stimulsoft report ?
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.
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.
- Attachments
-
- 1413.BusinessObjects.zip
- (5.81 MiB) Downloaded 490 times
How to call user defined function in module from stimulsoft report ?
Unfortunately, user functions isn't supported by Silverlight.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.
Thank you.
-
- Posts: 23
- Joined: Fri Sep 23, 2011 4:43 am
- Location: Germany
How to call user defined function in module from stimulsoft report ?
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.
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 ?
Hello.
If we'll make something in this area, we will let you know.
Thank you.
At this moment it is impossible, because parser doesn't support third-party call methods.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.
If we'll make something in this area, we will let you know.
Thank you.