Problem with Stimulsoft Preview
Posted: Wed Apr 29, 2009 9:20 am
Hi all,
we use the following Vb.Net code for open the Stimulsoft report :
rpt = New Stimulsoft.Report.StiReport
rpt.Load("stat_vend.mrt")
rpt.Render(False)
rpt.Print()
Dim stat_vend_Source As StiOleDbSource = CType(rpt.DataSources("PRODUCTS"), Stimulsoft.Report.Dictionary.StiOleDbSource)
stat_vend_Source.SqlCommand = "SELECT * FROM PRODUCTS"
rpt.Compile()
the problem is that when the vb program starts, the report is printed but the preview is always open (I would not open the preview window..).
Can someone help me please?
thanks!
regards,
Maurizio
we use the following Vb.Net code for open the Stimulsoft report :
rpt = New Stimulsoft.Report.StiReport
rpt.Load("stat_vend.mrt")
rpt.Render(False)
rpt.Print()
Dim stat_vend_Source As StiOleDbSource = CType(rpt.DataSources("PRODUCTS"), Stimulsoft.Report.Dictionary.StiOleDbSource)
stat_vend_Source.SqlCommand = "SELECT * FROM PRODUCTS"
rpt.Compile()
the problem is that when the vb program starts, the report is printed but the preview is always open (I would not open the preview window..).
Can someone help me please?
thanks!
regards,
Maurizio