| |
ActiveReports 2.0 (Visual Basic 6.0) Support
Started by Squash at 06-29-2009 6:24 AM. Topic has 6 replies.
 
 
 
|
|
Sort Posts:
|
|
|
|
06-29-2009, 6:24 AM
|
Squash
Joined on 09-12-2005
Posts 23
|
3 columns with 2 embeded subreports
|
|
|
|
|
Hello,
I have problem with designing report with 3 or more columns if I have more than 2 embeded subreports. Even if I set property Columncount = 3 in main report, activereports prints data in 2 columns. It looks like the Subreport_2 is not able to begin next column when the page ends and starts to print in the second column overlaping existing data. If there are 2 embeded reports all works ok - I can obtain as many columns in report as I want.
Below is scheme of designing reports:
MainReport - here I set columncount = 3 Subreport_1 Subreport_2
Is it possible to generate such a report?
regards, Artur
|
|
|
|
|
Report
|
|
|
|
07-01-2009, 1:40 PM
|
PrantikS
Joined on 12-11-2008
Posts 763

|
|
|
Hello,
Please take a look at the attached sample where I have added two subreports in the detail section and set the column count of the same to three. It works without any issues in my testing. Could you please modify the same to replicate the issue that you mention?
Regards, Prantik
|
|
|
|
|
Report
|
|
|
|
07-02-2009, 2:08 AM
|
Squash
Joined on 09-12-2005
Posts 23
|
|
|
Thank you for your answer. I modified it a little bit and take a look at the effect. Columns doesn't work correctly.
regards, Artur
|
|
|
|
|
Report
|
|
|
|
07-02-2009, 11:38 AM
|
PrantikS
Joined on 12-11-2008
Posts 763

|
Re: 3 columns with 2 embeded subreports
Attachment: Display.zip
|
|
|
|
|
Arthur,
Please take at the attached pdfs output when we set the Columndirection property to downaccross and accrossdown respectively. I would like to inform you that if you set the columndirection to downaccross, the detail sections in a page would be rendered from top to bottom then moving to the next column and so on. If you set the column direction to accrossdown, the detail sections would be rendered from left to right then to the next row until it fills the page. Is your requirement something else? Can you provide further details?
Regards Prantik
|
|
|
|
|
Report
|
|
|
|
07-02-2009, 1:12 PM
|
Squash
Joined on 09-12-2005
Posts 23
|
|
|
Hello,
I think you didn't try my example I've attached to my previous message. Please run it and take a look on it and tell why columns work not correctly? Here I attach pfd with my printout generetated from my modified vb project.
About Columndirection: of course I know it's behaviour because I'm familiar with AR since few years :)
Regards, Arthur
|
|
|
|
|
Report
|
|
|
|
07-06-2009, 4:57 AM
|
PrantikS
Joined on 12-11-2008
Posts 763

|
Re: 3 columns with 2 embeded subreports
Attachment: print.zip
|
|
|
|
|
Hello,
I apologize for the confusion here but when we take prints from HP LaserJet 2300 Series PCL 6 printer the prints are as attached herewith. Could you tell us which printer you are printing from? Further in the PDF, there are blank pages between every two pages. Such a scenario occurs when the sum of the printwidth, left and right margins is less than the actual width of the paper to which you are printing. Make sure that this you have verified this. Please take a look at this KB article in this regard.
Regards, Prantik
|
|
|
|
|
Report
|
|
|
|
07-08-2009, 12:44 AM
|
Squash
Joined on 09-12-2005
Posts 23
|
Re: 3 columns with 2 embeded subreports
|
|
|
|
|
Hello,
I was also confused with attachement you sent. After your message I tested my example with few printers drivers and always result was the same - only one column. Funny thing is that if I changed ColumnDirection to AcrossDown printout was OK - three columns. Printout was also good when I moved Field1 from rptmain few pixels down ! I don't know what happens but fortunately in my printout (much more complex) I devised that setting three columns in some nested subreport I was able to reach the result I needed. So for me the issue is closed but not fully understandable :)
best regards, squash
|
|
|
|
|
Report
|
|
|
|
|
GrapeCity » Product Support » ActiveReports 2... » 3 columns with 2 embeded subreports
|
|
|
|
|