3 columns with 2 embeded subreports

Posted by: squash on 4 August 2017, 3:15 pm EST

  • Posted 4 August 2017, 3:15 pm EST

    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
  • Replied 4 August 2017, 3:15 pm EST

    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



    2009/07/Subreports-2.zip
  • Replied 4 August 2017, 3:15 pm EST

    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
    2009/07/Display.zip
  • Replied 4 August 2017, 3:15 pm EST

    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

    2009/07/MyPrintout.pdf
  • Replied 4 August 2017, 3:15 pm EST

    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
    2009/07/print.zip
  • Replied 4 August 2017, 3:15 pm EST

    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


    2009/07/Subreports.zip
  • Replied 4 August 2017, 3:15 pm EST

    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
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels