Search found 50 matches

by jing
Mon Feb 26, 2007 4:52 pm
Forum: Stimulsoft Reports.NET
Topic: Incorrect Printing from preview control
Replies: 2
Views: 1191

Incorrect Printing from preview control

<r>In my preview control, I have 4 product labels (well, 4 different ones), 2 on 1 page, so there are in total 2 pages to be printed. <br/> When I click on the print button and print it on a label printer, the printer prints the 1st 2 labels and then repeats that again to make 4 labels??!! It never ...
by jing
Thu Feb 22, 2007 2:46 pm
Forum: Stimulsoft Reports.NET
Topic: StiEndRenderEvent
Replies: 8
Views: 3270

StiEndRenderEvent

<t>Okay, I finally see the message... after I shrink every window on the desktop... <br/> <br/> I guess what I want to do is for the message to appear inside the preview control - so instead of displaying a blank page, it will display a message "No records". I am not quite sure what will be the easi...
by jing
Wed Feb 21, 2007 2:29 pm
Forum: Stimulsoft Reports.NET
Topic: StiEndRenderEvent
Replies: 8
Views: 3270

StiEndRenderEvent

Hi, Thanks for your reply. The following lines of code are placed in the Form_Load event (The form that has the StiPreviewControl1 on) report.Compile() AddHandler report.CompiledReport.EndRender, New EventHandler(AddressOf MyReport_EndRender) report.PreviewControl = StiPreviewControl1 report.Show(Tr...
by jing
Wed Feb 21, 2007 1:54 pm
Forum: Stimulsoft Reports.NET
Topic: Capturing report new and report open events in the report designer
Replies: 15
Views: 5938

Capturing report new and report open events in the report designer

<t>Hi, <br/> <br/> I have installed build from 21 Feb - the one you sent me through e-mail.<br/> The new button is still not working....<br/> I got this error, "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."<br/> <br/> I didn't install the bui...
by jing
Tue Feb 20, 2007 8:41 pm
Forum: Stimulsoft Reports.NET
Topic: Getting DataSet during report rendering
Replies: 7
Views: 2859

Getting DataSet during report rendering

2. For data source from SQL connection you can use dataset this.Dictionary.CacheDataSet.
Wouldn't this only work if the report has finished rendering? (otherwise wouldn't dataset be empty?)

by jing
Tue Feb 20, 2007 8:04 pm
Forum: Stimulsoft Reports.NET
Topic: Capturing report new and report open events in the report designer
Replies: 15
Views: 5938

Capturing report new and report open events in the report designer

Ater I have added AddHandler Stimulsoft.Report.Design.StiDesigner.LoadingReport, New Stimulsoft.Report.Design.StiLoadingObjectEventHandler(AddressOf OpenMyReportFile) in Form load, the "New Report" event doesn't work anymore??? When I clicked on "New Report" button in the Designe...
by jing
Tue Feb 20, 2007 3:45 pm
Forum: Stimulsoft Reports.NET
Topic: Getting DataSet during report rendering
Replies: 7
Views: 2859

Getting DataSet during report rendering

I managed to get the dataset by using the sql query that's already in the report and added some rows to that dataset and managed to print the report using a the dataset- all is well now :)

Thanks

by jing
Tue Feb 20, 2007 3:05 pm
Forum: Stimulsoft Reports.NET
Topic: StiEndRenderEvent
Replies: 8
Views: 3270

StiEndRenderEvent

Hi, Thanks for the code. I am now having problem using MessageBox.Show in the EndRender event in conjunction with the preview control..... report.Compile() AddHandler report.CompiledReport.EndRender, New EventHandler(AddressOf MyReport_EndRender) report.PreviewControl = StiPreviewControl1 report.Sho...
by jing
Tue Feb 20, 2007 1:42 pm
Forum: Stimulsoft Reports.NET
Topic: Getting DataSet during report rendering
Replies: 7
Views: 2859

Getting DataSet during report rendering

I got the data via a connection from the code. I setup the database and datasources via code, then open the designer. (I didn't use RegData because we would like the user to change the sql query behind the datasource....)

Thanks
by jing
Mon Feb 19, 2007 6:13 pm
Forum: Stimulsoft Reports.NET
Topic: StiEndRenderEvent
Replies: 8
Views: 3270

StiEndRenderEvent

Hi, Is there an easier way to rewrite the StiEndRenderEvent on a report? I have been doing Dim rp as New StiReport() Dim eV As New Stimulsoft.Report.Events.StiEndRenderEvent eV.Script = "For Each d As Stimulsoft.Report.Dictionary.StiDataSource In Me.DataSources" & vbCrLf & "Me...