| |
ActiveReports 2.0 (Visual Basic 6.0) Support
Started by krsrn at 08-20-2009 4:43 AM. Topic has 3 replies.
 
 
 
|
|
Sort Posts:
|
|
|
|
08-20-2009, 4:43 AM
|
krsrn
Joined on 08-20-2009
Posts 5
|
Report Viewer not displaying Landscape correctly
|
|
|
|
|
Using the code below I am trying to get a report which I have passed across to a new form where my Report Viewer is located to display correctly.
In my original Report I am able to set the PageMargins, however, these properties are not avaliable within the Viewer.
Any Help appreciated
Thanks
With arv
.Toolbar.Tools(0).Visible = False
.Toolbar.Tools.Add ("Close Report")
.Printer.Orientation = ddOLandscape
.Printer.ColorMode = 1
.Zoom = 100
.ToolbarVisible = True
End With
|
|
|
|
|
Report
|
|
|
|
08-20-2009, 1:34 PM
|
PrantikS
Joined on 12-11-2008
Posts 758

|
Re: Report Viewer not displaying Landscape correctly
|
|
|
|
|
Hello,
If you are trying to set the margins of the report, you may try to do so from the object of the report with code simmilar to as follows.
Dim rpt As New ActiveReport1 rpt.PageSettings.RightMargin = 720 rpt.PageSettings.LeftMargin = 720 rpt.PageSettings.TopMargin = 720 rpt.PageSettings.BottomMargin = 720 rpt.Run Me.ARViewer21.ReportSource = rpt
Regards, Prantik
|
|
|
|
|
Report
|
|
|
|
08-21-2009, 2:18 AM
|
krsrn
Joined on 08-20-2009
Posts 5
|
Re: Report Viewer not displaying Landscape correctly
|
|
|
|
|
Thanks thats seemed to work fine. Is it possible to determine a time length a report will take to execute. I.E. having a progress bar incrementing around rpt.Run?
|
|
|
|
|
Report
|
|
|
|
08-21-2009, 12:16 PM
|
PrantikS
Joined on 12-11-2008
Posts 758

|
Re: Report Viewer not displaying Landscape correctly
|
|
|
|
|
Hello,
ActiveReports 2.0(VB6) doesnot have any inbuilt control to implement the progress bar feature.However you could probably use the status property to display the status of the report. You may also take a look at this and this forums in this regard.
Regards, Prantik
|
|
|
|
|
Report
|
|
|
|
|
GrapeCity » Product Support » ActiveReports 2... » Report Viewer not displaying Landscape correctly
|
|
|
|
|