show report in stiViewerControl
Posted: Wed Aug 04, 2010 7:59 am
Hi!
sorry for my bad english...
I'm developing a report generator...i have a form with some tab...in one tab user can select field.in another tab he can create filter...and so on
in one of tabs i place a stiDesignerControl. user can design report layout in this control...
every thing is OK!
I create sql command and fill dataset. then call RegData method of StiReport .
what i want is : show that report in stiViewerControl (that placed in another tab).therefore stiViewerControl1.Report = MyRpt;
but nothing show in stiViewerControl.
can any one help me?
thanks.
sorry for my bad english...
I'm developing a report generator...i have a form with some tab...in one tab user can select field.in another tab he can create filter...and so on
in one of tabs i place a stiDesignerControl. user can design report layout in this control...
every thing is OK!
I create sql command and fill dataset. then call RegData method of StiReport .
what i want is : show that report in stiViewerControl (that placed in another tab).therefore stiViewerControl1.Report = MyRpt;
but nothing show in stiViewerControl.
can any one help me?
thanks.