| |
|

ActiveReports 2.0 (Visual Basic 6.0) Support
Started by mpa2010 at 02-25-2010 10:35 AM. Topic has 3 replies.
 
 
 
|
|
Sort Posts:
|
|
|
|
02-25-2010, 10:35 AM
|
mpa2010
Joined on 02-26-2010
Posts 2
|
Problem with sub-report in landscape mode
|
|
|
|
|
I have a report that is displayed in landscape mode. On this report I have a sub-report that is also designed for landscape mode. The problem I have is that when I run the report, the main report is displayed correctly (all fields are visible), but the sub-report is cut at the width of a portrait page. What is the problem? The width of the sub-report on the main report is wide enough to fit all the contents.
Thanks
|
|
|
|
|
Report
|
|
|
|
02-25-2010, 10:19 PM
|
PrantikS
Joined on 12-11-2008
Posts 1,644

|
Re: Problem with sub-report in landscape mode
|
|
|
|
|
Hello,
How is the behavior when you run the subreports individually? Can you send the RPX (layout) of the main and the subreports for us to analyze and provide a solution?
Regards, Prantik
|
|
|
|
|
Report
|
|
|
|
02-27-2010, 12:25 AM
|
mpa2010
Joined on 02-26-2010
Posts 2
|
Re: Problem with sub-report in landscape mode
Attachment: report.rar
|
|
|
|
|
When the subreport is run individually it looks ok. Here are the rpx files.
|
|
|
|
|
Report
|
|
|
|
03-01-2010, 9:36 AM
|
PrantikS
Joined on 12-11-2008
Posts 1,644

|
Re: Problem with sub-report in landscape mode
|
|
|
|
|
Hello,
Do you observe the issue of the sub report being cut off in the viewer or while printing? I was unable to observe this in the viewer. You may try setting the subreports printer settings to landscape at design time. Also, if the issue is only while viewing, you may try setting the Printer.DeviceName = "“ in both the main and subreports to use the virtual printer to display the report. I also observed that your main report’s printwidth is 15840 and the subreport’s printwidth(15645) + left margin(1440) + right margin(1440) is much greater than 15840. Imagine printing a page of width 18000 to a page of width 15645 ; the text is bound to cut off.
Regards, Prantik
|
|
|
|
|
Report
|
|
|
|
|
GrapeCity » Product Support » ActiveReports 2... » Re: Problem with sub-report in landscape mode
|
|
|
|
|