Hi,
I am using your new DLL's which gave me following exception when i preview the report.
System.Exception occurred
Message="C:\Documents and Settings\Gurpreet\Local Settings\Temp\ev9hfwve.0.vb(83,0) : error BC30288: Local variable 'tag' is already declared in the current block.C:\Documents and Settings\Gurpreet\Local Settings\Temp\ev9hfwve.0.vb(84,0) : error BC30288: Local variable 'tag' is already declared in the current block.C:\Documents and Settings\Gurpreet\Local Settings\Temp\ev9hfwve.0.vb(101,0) : error BC30288: Local variable 'tag' is already declared in the current block.C:\Documents and Settings\Gurpreet\Local Settings\Temp\ev9hfwve.0.vb(102,0) : error BC30288: Local variable 'tag' is already declared in the current block.C:\Documents and Settings\Gurpreet\Local Settings\Temp\ev9hfwve.0.vb(119,0) : error BC30288: Local variable 'tag' is already declared in the current block.C:\Documents and Settings\Gurpreet\Local Settings\Temp\ev9hfwve.0.vb(120,0) : error BC30288: Local variable 'tag' is already declared in the current block.C:\Documents and Settings\Gurpreet\Local Settings\Temp\ev9hfwve.0.vb(137,0) : error BC30288: Local variable 'tag' is already declared in the current block.C:\Documents and Settings\Gurpreet\Local Settings\Temp\ev9hfwve.0.vb(138,0) : error BC30288: Local variable 'tag' is already declared in the current block.C:\Documents and Settings\Gurpreet\Local Settings\Temp\ev9hfwve.0.vb(155,0) : error BC30288: Local variable 'tag' is already declared in the current block.C:\Documents and Settings\Gurpreet\Local Settings\Temp\ev9hfwve.0.vb(156,0) : error BC30288: Local variable 'tag' is already declared in the current block.C:\Documents and Settings\Gurpreet\Local Settings\Temp\ev9hfwve.0.vb(173,0) : error BC30288: Local variable 'tag' is already declared in the current block.C:\Documents and Settings\Gurpreet\Local Settings\Temp\ev9hfwve.0.vb(174,0) : error BC30288: Local variable 'tag' is already declared in the current block."
Source="Stimulsoft.Report"
StackTrace:
at Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType)
at Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate)
at Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType, Boolean autoCreate)
at Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType)
at Stimulsoft.Report.StiReport.Compile(StiOutputType outputType)
at Stimulsoft.Report.StiReport.Compile()
at SDP.Base.QueryBuilder.ReportExecuter.ExecuteReport(Report report, Hashtable querySql, DataSet dataSet, Boolean HideRendering)
------------------------------------------------------------------------------------------------------------------------------------------
In the previewing of report i just create the dataset and registered it and complie the report the above exception comes. My code for previewing the report is as :
dataSet = QueryExecuter.ExecuteSQL(querySql, report.OutFieldSet)
stReport.LoadFromString(report.ReportLayout.RLALayout)
stReport.RegData("Data", dataSet)
stReport.Dictionary.Synchronize()
stReport.Compile()
I have also see the code generated by Stimulsoft Desginer, in that code the tag variable is declared three times for each datasource field but if we use old DLL's then not any tag variable is seen. The following code i seen in the code window in Stimulsoft designer
Private Sub DataText1_Conditions(ByVal sender As Object, ByVal e As Stimulsoft.Report.Events.StiValueEventArgs)
Dim value As System.String = CType(e.Value,System.String)
Dim tag As String = CType(CType(sender, StiComponent).TagValue, String)
Dim tag As String = CType(CType(sender, StiComponent).TooltipValue, String)
Dim tag As String = CType(CType(sender, StiComponent).HyperlinkValue, String)
If (Line And 1) = 1 Then
CType(sender,Stimulsoft.Report.Components.IStiTextBrush).TextBrush = New Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black)
CType(sender,Stimulsoft.Report.Components.IStiBrush).Brush = New Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.CornflowerBlue)
CType(sender,Stimulsoft.Report.Components.IStiFont).Font = New System.Drawing.Font("Arial", 8!)
CType(sender,Stimulsoft.Report.Components.StiComponent).Enabled = true
Return
End If
End Sub
Issue in new Dll's while previewing the report
Issue in new Dll's while previewing the report
Hello.
Please send the report template to support[at]stimulsoft.com for analysis.
Thank you.
Please send the report template to support[at]stimulsoft.com for analysis.
Thank you.
Issue in new Dll's while previewing the report
Hi,
I have send the report code as you said at the support@stimulsoft.com. So, please check it and reply me as soon as possible.
Thanks.
I have send the report code as you said at the support@stimulsoft.com. So, please check it and reply me as soon as possible.
Thanks.
Issue in new Dll's while previewing the report
Hello,
Please send also that report in mrt format, not only code of it.
Thank you.
Please send also that report in mrt format, not only code of it.
Thank you.