How to call report once SETUP file created
How to call report once SETUP file created
Hi Jay,
Please pass variables as follows:
Dim report As StiReport = StiReport3.GetReport()
report.Compile()
report("cmpName") = "Variable Value"
Thank you.
Please pass variables as follows:
Dim report As StiReport = StiReport3.GetReport()
report.Compile()
report("cmpName") = "Variable Value"
Thank you.
How to call report once SETUP file created
Hello,
Thanx for ur reply Mr Edward.
My report name is rptDailyClaim.mrt, in that i have cross tab, variables.
I use the below code
Dim report As StiReport = StiReport3.GetReport()
report.Compile()
report("cmpName") = "Variable Value"
I have a StiReport component in form and designed the report and saved it as a template rptDailyClaim.mrt.
But the above code generating a new report and didnt load the report rptDailyClaim and also the line report("cmpName") = "Variable Value" throws error like variable not exists
Thanx
Jay
Thanx for ur reply Mr Edward.
My report name is rptDailyClaim.mrt, in that i have cross tab, variables.
I use the below code
Dim report As StiReport = StiReport3.GetReport()
report.Compile()
report("cmpName") = "Variable Value"
I have a StiReport component in form and designed the report and saved it as a template rptDailyClaim.mrt.
But the above code generating a new report and didnt load the report rptDailyClaim and also the line report("cmpName") = "Variable Value" throws error like variable not exists
Thanx
Jay
How to call report once SETUP file created
Hai,
Can anyone help me, please its urgent.
Thanx
Jay
Can anyone help me, please its urgent.
Thanx
Jay
How to call report once SETUP file created
Hello Jay,
Thank you.
May be you skip Load method?jayanthi wrote:Hello,
Thanx for ur reply Mr Edward.
My report name is rptDailyClaim.mrt, in that i have cross tab, variables.
I use the below code
Dim report As StiReport = StiReport3.GetReport()
report.Compile()
report("cmpName") = "Variable Value"
I have a StiReport component in form and designed the report and saved it as a template rptDailyClaim.mrt.
But the above code generating a new report and didnt load the report rptDailyClaim and also the line report("cmpName") = "Variable Value" throws error like variable not exists
Thank you.
How to call report once SETUP file created
Hello Jan,
Actually in crystal report, from EXE i can directly run the report without paste it in the deployment path.
Is it possible to do the same with Stimulsoft, because it will be easy to deploy at client's place.
Thank u
Jay
Actually in crystal report, from EXE i can directly run the report without paste it in the deployment path.
Is it possible to do the same with Stimulsoft, because it will be easy to deploy at client's place.
Thank u
Jay
How to call report once SETUP file created
Hi Jay,
If the report did not exist this means that you had to add this variable into Dictionary during design time or the report template was not loaded correctly.
Also there is an ability to make an exe file from the code of your application. For this you can use Compile() method of the StiReport class:
report.Compile("D:\MyReport.exe", Stimulsoft.Base.StiOutputType.WindowsApplication)
Thank you.
If the report did not exist this means that you had to add this variable into Dictionary during design time or the report template was not loaded correctly.
Also there is an ability to make an exe file from the code of your application. For this you can use Compile() method of the StiReport class:
report.Compile("D:\MyReport.exe", Stimulsoft.Base.StiOutputType.WindowsApplication)
Thank you.
How to call report once SETUP file created
I have wrote the code as like
report.Compile("D:\MyReport.exe", Stimulsoft.Base.StiOutputType.StiOutputType.WindowsApplication)
It throws error like Can't open folder for writing.
Please tell whether it is possible or not to run the report from EXE without paste the report in deployment path.
Thank u
Jay
report.Compile("D:\MyReport.exe", Stimulsoft.Base.StiOutputType.StiOutputType.WindowsApplication)
It throws error like Can't open folder for writing.
Please tell whether it is possible or not to run the report from EXE without paste the report in deployment path.
Thank u
Jay
How to call report once SETUP file created
I have wrote the code as like
report.Compile("D:\MyReport.exe", Stimulsoft.Base.StiOutputType.WindowsApplication)
It throws error like Can't open folder for writing, Access to the path denied
Please tell whether it is possible or not to run the report from EXE without paste the report in deployment path.
Thank u
report.Compile("D:\MyReport.exe", Stimulsoft.Base.StiOutputType.WindowsApplication)
It throws error like Can't open folder for writing, Access to the path denied
Please tell whether it is possible or not to run the report from EXE without paste the report in deployment path.
Thank u
How to call report once SETUP file created
Hello Jay,
On your computer exist drive D?
Thank you.
On your computer exist drive D?
Thank you.
How to call report once SETUP file created
Hai,
Yes I have.
Thank u
Jay
Yes I have.
Thank u
Jay