Compilation error in designer preview setting ReportName by code
Posted: Tue Dec 21, 2010 5:02 pm
Using version 2010.3.900.0 (tried with the 2011.1.902.0 version, same result).
If by code i call the designer and i set the ReportName property, then in the designer preview i see the compilation error:
"The method of the class, of the structure or of the interface must have a returned type" (i'm translating from Italian).
Steps to reproduce the problem:
1. Invoke the designer using the following VB code:
2. In the designer, click on "Preview" tab
3. Look in the messages at the "Error of compilation".
If you remove the line
the problem disappears.
Thank you.
If by code i call the designer and i set the ReportName property, then in the designer preview i see the compilation error:
"The method of the class, of the structure or of the interface must have a returned type" (i'm translating from Italian).
Steps to reproduce the problem:
1. Invoke the designer using the following VB code:
Code: Select all
Dim rpt As New Stimulsoft.Report.StiReport
rpt.ReportName = "a"
rpt.Design()
3. Look in the messages at the "Error of compilation".
If you remove the line
Code: Select all
rpt.ReportName="a"
the problem disappears.
Thank you.