Programmatically generating a report
Programmatically generating a report
Hi there,
I'm new to Stimulsoft Reports.Net and I'm having difficulties with dynamic report building using vb.nat code
What I want to do is the following:
I have a system (developed in VB.NET) and I need generate reports with several tables and long querys in a dataset.
I need to the generate report have a specific structure like the imagen.
I tried programmatically to create a new StiReport and load the query inside a dataset, the reports just show me the tittle right.
I can't get the structure that i need fo the report.
Is posible create with code this kind of report structure or just i can do it in a designer? :dumb:
I'm new to Stimulsoft Reports.Net and I'm having difficulties with dynamic report building using vb.nat code
What I want to do is the following:
I have a system (developed in VB.NET) and I need generate reports with several tables and long querys in a dataset.
I need to the generate report have a specific structure like the imagen.
I tried programmatically to create a new StiReport and load the query inside a dataset, the reports just show me the tittle right.
I can't get the structure that i need fo the report.
Is posible create with code this kind of report structure or just i can do it in a designer? :dumb:
- Attachments
-
- 347.REPORTE.jpg (139.52 KiB) Viewed 3408 times
Programmatically generating a report
Hello,
p.s. Please check also attached sample project.
Thank you.
Create required report in report designer. After then switch to Code tab in report designer. You can see report code generated in report designer. Report engine use this code to create report. You can do similar code.Rajwill wrote:Hi there,
I'm new to Stimulsoft Reports.Net and I'm having difficulties with dynamic report building using vb.nat code
What I want to do is the following:
I have a system (developed in VB.NET) and I need generate reports with several tables and long querys in a dataset.
I need to the generate report have a specific structure like the imagen.
I tried programmatically to create a new StiReport and load the query inside a dataset, the reports just show me the tittle right.
I can't get the structure that i need fo the report.
Is posible create with code this kind of report structure or just i can do it in a designer? :dumb:
p.s. Please check also attached sample project.
Thank you.
- Attachments
-
- 348.PrintTable.zip
- (49.87 KiB) Downloaded 365 times
Programmatically generating a report
Thanks for you help.:feelgood:
I get the below error when try to compile the report:
Public Sub Text18__GetValue(ByVal sender As Object, ByVal e As Stimulsoft.Report.Events.StiGetValueEventArgs)
e.Value = ToString(sender, dataReport.estatus, True)
End Sub
Error: Too many arguments
Public Sub Text20__GetValue(ByVal sender As Object, ByVal e As Stimulsoft.Report.Events.StiGetValueEventArgs)
e.Value = Me.Text20.TextFormat.Format(CheckExcelValue(sender, dataReport.fecha))
End Sub
Error: CheckExcelValue is not declare
Could you help me with the error?:dumb:
Thanks in Advace
I get the below error when try to compile the report:
Public Sub Text18__GetValue(ByVal sender As Object, ByVal e As Stimulsoft.Report.Events.StiGetValueEventArgs)
e.Value = ToString(sender, dataReport.estatus, True)
End Sub
Error: Too many arguments
Public Sub Text20__GetValue(ByVal sender As Object, ByVal e As Stimulsoft.Report.Events.StiGetValueEventArgs)
e.Value = Me.Text20.TextFormat.Format(CheckExcelValue(sender, dataReport.fecha))
End Sub
Error: CheckExcelValue is not declare
Could you help me with the error?:dumb:
Thanks in Advace
Programmatically generating a report
forget one
Public Function Text36_GetValue_End(ByVal sender As Stimulsoft.Report.Components.StiComponent) As System.String
Return ToString(sender, PageNofMThrough, True)
End Function
Error:Name PageNofMThrough is not declare
Programmatically generating a report
Hi
Please make sure that all Stimulsoft dlls you referenced are all of the same version.
What version did you used?
If error persists, please try also to clear the GAC first, then delete all references from the project and add references to Stimulsft dlls again.
Also please check the project from attachment.
Thank you.
Please make sure that all Stimulsoft dlls you referenced are all of the same version.
What version did you used?
If error persists, please try also to clear the GAC first, then delete all references from the project and add references to Stimulsft dlls again.
Also please check the project from attachment.
Thank you.
- Attachments
-
- 349.RuntimeBuildReport.zip
- (22.8 KiB) Downloaded 444 times
Programmatically generating a report
Sorry, still errors:tire:
I added references to Stimulsft dlls again to my project, currently i used the Ultimate 2009.3 Version.
Do you have any idea which dll are in the roles where I get an error?
CheckExcelValue Not Declare
ToString(sender, dataReport.estatus, True)---Too many arguments
PageNofMThrough Not Declare
Can I use CheckExcelValue,PageNofMThrough and the overload of ToString With VB code? :shame:
Thanks in Advance for your Help..:matrix:
I added references to Stimulsft dlls again to my project, currently i used the Ultimate 2009.3 Version.
Do you have any idea which dll are in the roles where I get an error?
CheckExcelValue Not Declare
ToString(sender, dataReport.estatus, True)---Too many arguments
PageNofMThrough Not Declare
Can I use CheckExcelValue,PageNofMThrough and the overload of ToString With VB code? :shame:
Thanks in Advance for your Help..:matrix:
Programmatically generating a report
Hi
In order to help you, we need a test project. Could you please send it to support[at]stimulsoft.com with link to this topic?
Thank you.
In order to help you, we need a test project. Could you please send it to support[at]stimulsoft.com with link to this topic?
Thank you.