Print multiple sections in report

How do I print multiple sections in a report?
For example, if I have 5 select statements in my data section and want to print them seperately, one after the other, how would I do that?
I do not want to merge the data together. I want it to be like 5 reports concatenated together.
Query1 Title
Query1Results
Query2 Title
Query2Results
... etc ...

What you need to do is create a new main frame for each query. The easy way that use to do this is create the section of the report and let the wizard create the frames for me. Then I move them around to make the section look the way I want it to. Then I open a new report. This one I'll build it using the second query. Then again use the wizard to setup the frames. Then you'll select the main frame from the second report using the frame selet button copy it and paste the layout into the first report. You will want to paste it under the first section. A little trick here is to first draw a small line right above where you want the second section. The paste the second section. This will make sure the the second section is close to where you want it. If you do not do this Reports will put it on top of the first section a lot of times. You'll have to recreate the data model again, but that is easier then setting up all the framing on a complex layout. Then repete the second report step until you have done all the queries or sections you want.
I hope that helps,
Tom

Similar Messages

  • Print Multiple copies of report, and resetting Page number for each copy.

    Dear frnds!
    i am using developer 6i reports i have a problem.
    i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
    1 - for user copy
    2- gate copy
    3- accounts office
    4- office copy
    any body please tell me the solution "i am using oracle 9i and developer 6i"
    Thanx
    Ibrar

    Hi,
    I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
    <?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
    HEADER
    PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
    PSN Detail: <?$G1/PickSlipNumber_ID260?>
    Page 1 of 3
    <?start:body?>
    BODY
    <?$G1/LineNumber_ID6?>
    <?end body?>
    FOOTER
    <?end for-each?>
    <?end for-each-group?>
    XML:
    <R5542520>
    <Pick_Slips_Detail_Lines_S24>
    <Header_Custom_Section_S24>
    <Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
    <PickSlipNumber_ID260>123456</PickSlipNumber_ID260>

  • Need to print multiple sections in a group

    We have print customer invoices. Along with each invoice, we have to send
    1.     A Cover Letter that is always one page
    2.     Terms and conditions. This could be between 1 to 3 pages
    Our requirement is to have separate page numbering for each of these sections and each of these should start on a new page. For example if invoice is 5 pages long and Terms & conditions are 3 pages long then
    1.     Invoice pages should show Page 1 of 5, page 2 of 5, page 3 of 5, Pages 4 of 5 and Page 5 of 5
    2.     Cover letter should show page 1 of 1
    3.     Terms and condition page should show Page 1 of 3, page 2 of 3 and Page 3 of three.
    By using<?split-by-page-break?> of puttng hard section break in RTF template does not help.
    BI Publisher version is 10.1.3.4.1.
    I am very new to BI publisher and you help is highly appreciated.

    Hi,
    To send the output of multiple forms called in the same program to same spool follow the instructions
    A new spool request is appended to an existing spool request by default only in the following
    cases:
    1. The attributes such as name, output device, number of copies and formatting type(page format) agree.
        The above attributes u can check in the spool dialog box window.
    2. The existing spool request is not completed yet.
    3. Field TDNEWID  in  OUTPUT_PARAMETERS  is not set to "X".
    if any one of these conditions  is not met,  spool control automatically generates a new spool request.
    in order to appended  new spool request  to  an existing spool request set the following parameters
    in the   CONTROL_PARAMETERS
                                                          NO_OPEN                      NO_CLOSE
    1.first form output                                  blank                                  "X"
    2.additional output                                  "X"                                     "X"
             .                                                   "X"                                     "X"
    Last output                                             "X"                                     blank

  • Crucial - Printing Multiple Copies of Report

    Greetings to all!
    I have a situation to suggest a solution for this.
    I nee to call a Oracle Report from the Oracle Apps. When the user fires the "Print" from the invoice screen,
    - I need to initiate three copies of the same invoice.
    - Each copies should have the footer text as Official Copy, Customer Copy and Personal Copy respectively.
    Any suggestion will be heartfully appreciated.
    Thanks and Regards,
    R. Venkatraman.

    Hi Venkat
    1. You may want to create the same (invoice) layout across the three sections.
    2. On each section, set the respective footer text in the bottom margin.
    3. Create a Report level distribution list that distributes to the Printer.
    4. Distribute the report on issuing the "Print" command from Invoice screen.
    The Oracle Reports Team

  • Printing- multiple sections and no comments

    Hi,
    This problem has occured only since upgrading to Lion.
    I have been trying to print a document from Word 2011, with reviewer's comments included.
    When I send directly to the USB connected printer, reviewer's comments are not printed and the document is printed in multiple jobs.
    When I print as PDF, reviewer's comments are included, but the document is broken into multiple pdf files.
    Am using a HP LaserJet P2055d. Have tried deleting and re-adding the printer in system preferences. Have also tried reseting the print settings in systems preferences. Both with no effect.
    Any suggestions greatly appreciated
    Peter

    Peter MacPherson wrote:
    Hi,
    This problem has occured only since upgrading to Lion.
    I have been trying to print a document from Word 2011, with reviewer's comments included.
    When I send directly to the USB connected printer, reviewer's comments are not printed and the document is printed in multiple jobs.
    When I print as PDF, reviewer's comments are included, but the document is broken into multiple pdf files.
    I am not sure why the reviewer's comments aren't printed. Maybe a Word upgrade will help?
    As to the multiple pdf files, are there page breaks or orientation shifts (portrait to landscape or vice versa)? If so, you could try printing the doc from Acrobat.
    Hope this helps.

  • How to print multiple footers for each page in RTF template xml report.

    Hi,
    How to print multiple footers for each page in RTF template xml report.
    i am able to print ( two sets ) ...
    up to last page ( one template ) and for last page ( another template).
    i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
    Thanks in advance.
    Regards,
    KAP.

    You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
    Just have for-each@section logic.
    It would be difficult for me to guess what you have done without looking at your RTF or describing here.

  • Group footer. Want to print one section in the body of report

    I am working on an invoice.
    It has two groups:
                    Detail line
                    Invoice number
    In crystal the invoice number group header is ran than the detail line group fires.
    After all the detail lines are printed for that invoice number the group footer for the invoice prints.
    I have multiple sections in my invoice number group footer.
    All these sections except the first has the property u201CPrint at Bottom of Pageu201D selected.
    The First group footer section prints as it should directly below the detail section.
    The second section print at the bottom of the page as expected.
    The third group footer does not print till the end of the entire report. So if I have multiple invoices printing at one time I see an invoice subtotal for each invoice but the u201CTotal Dueu201D does not show until the last page. It is also always 0.00.
    any help wouldbe appriciated.

    I'm guessing here, but it sounds like the data record is not "available" (past EOF?) when the footer is being printed.  Try putting the db field into a shared variable in the detail section (basic syntax):
    whileprintingrecords
    shared total as number
    total = {SOShipHeader.CuryBalDue}
    formula = ""
    Then use the shared variable in the footer:
    whileprintingrecords
    shared total as number
    formula = total
    HTH,
    Carl

  • How to get Report Builder to print a section on the same page

    I have a section of my report that is three bands. A header
    band, the detail band, and a total line band. Sometimes this
    section will get split up and print part on the next page. So
    basically I need for this section to print on the same page. I know
    that I could insert a page break right above the header, but this
    will make my report way longer than it needs to be. I have also
    unchecked "split allowed" for that band also but that didn't make a
    difference. Is there some way to group three bands together so that
    if it is two big to print the section on the current page then
    print the whole section on the next page. It is driving our
    accounting lady nuts because when she likes to verify that the
    totals are coming out right and sometimes she has to flip over to
    the next page to continue calculating.

    you need to create a multi-instrument in the environment next to your audio-instrument,then push a cable from there to your audio-instrument.in the arrange window your multi-instrument will appear in the window where you select the track-type next to the audio tracks, audio-busses etc. these midi tracks now trigger your vsti on the selected midi channel.you have to record your midi now on these tracks and not on the audio-instrument track,because there you only trigger its own channel. i hope i explained it well but i think you have understood what i ment.

  • Printing multiple reports on a single page

    i have a transaction report of 5-6 lines
    after printing i want the printer head to stop and print the next transaction report immediately.
    what properties need to set up/
    what are escape sequencee and how are they used?
    null

    What controls are you using?  There is a control under the Preview section for "Copies per page".  This is the wrong choice.  You want to look under the Layout section and use the Pages kper Sheet option.

  • Simple Statement w/ subreport prints multiple pages

    Hello all,
    I have a CR 2008 migrated from older version (CRW 32 6,0,1,135  with VB6 driving the report) that is printing multiple pages when it should be only printing 1 page.
    This report is a Statement that shows customer info and account balances. It has a subreport that typically prints 1 line of report data on each Statement. However, some customers can have 2 or 3 records printed in the subreport. And in the past this all worked fine - it printed 1 page for the Statement even if there were more than 1 record in the subreport.
    After converting to CR 2008 (I did successfully implement SP1 then SP2 after a lot of confusion, then joined this forum - thanks much!) the Statement now prints multiple (identical) pages based on how many records are in the subreport data. I've played with it by testing with customers who had 3 records in the subreport and it generates 3 pages. I've tried modifying the Section control values like "Keep together" and others with no success. We are using VB.Net 2008 now to drive the report.
    If anyone has any ideas or suggestions, I really would appreciate your input. I'm not an expert with CR by any means but I have developed about 40 or so reports over the years and have a decent working knowledge.
    Thanks for anything you may be able to offer.
    Chris

    That's a big jump from CR 6 to 2008.
    It may be easier to just rebuild your report from the beginning rather than trying to fix this one.
    Typically most update a few versions at a time and the import portion of the code can handle the updating relatively the same version. Cr 2008 is now UNICODE and completely different file format.
    Thank you
    Don

  • Print multiple forms between FP_JOB_OPEN and FP_JOB_CLOSE

    I am aware, that there are questions regarding "Printing Multiple forms", but I didn't find answers there.
    Still my system is not working as expected:
    1.  FP_JOB_OPEN is called
    2. the generated Adobe Forms function is called multiple times
    3.  FP_JOB_CLOSE is called
    This program doesn't deliver all the pages, but just the first call. How shall I solve this problem?
    (Coding should work anywhere with copy-pase.)
    data: fm_name           type rs38l_fnam,
          fp_docparams      type sfpdocparams,
          fp_outputparams   type sfpoutputparams.
    parameters: p_fpname type fpname default 'FP_TEST_02'.
    * Get the name of the generated function module
    call function 'FP_FUNCTION_MODULE_NAME'
      exporting
        i_name     = p_fpname
      importing
        e_funcname = fm_name.
    * Sets the output parameters and opens the spool job
    call function 'FP_JOB_OPEN'
      changing
        ie_outputparams = fp_outputparams
      exceptions
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        others          = 5.
    * Call the generated function module
    call function fm_name.
    * SECOND CALL ****************************
    call function fm_name.
    * Close the spool job
    call function 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.

    Hi ZSOLT,
    In order to call the form multiple times please do the following,
    1) Just before your FP_JOB_OPEN you need to pass the output parameters (good practice). You can also set other parameters as well (for example nodialog, preview, copies., etc)
      CLEAR  fp_outputparams.
      fp_outputparams-dest = 'PDF1'.      "Default pdf printer
      fp_outputparams-reqnew = 'X'.       "New spool request
    Now call your FM FP_JOB_OPEN with the above output parameters.
    2) Usually this step is processed in a loop. (getting your interface data into a internal table and then looping at it)
    But here I am enhancing your example code.
    In order to trigger the form multiple times you need to change some input data to the form (for example I have changed date and time below in the prepare test data sections) so that the call function fm_name gets regenerated every time there is new data
    data  l_datatypes       type sfpdatatypes.
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20040613'.      
      l_datatypes-time = '100600'.         
      l_datatypes-lang = sy-langu.
    FIRST CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.       
      fp_docparams-country = 'US'.  
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20100913'.                 "You need to change your data in order it to trigger a new form with the new data.
      l_datatypes-time = '10700'.                        "You need to change your data in order it to trigger a new form with the new data.       
      l_datatypes-lang = sy-langu.
    SECOND CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.
      fp_docparams-country = 'US'.
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    Close the spool job
    call function 'FP_JOB_CLOSE'
       IMPORTING
        E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.
    I have tested the above code and I am getting multiple forms.
    Please try on your end and let me know if it works.
    Thanks
    Raj

  • Add a Print button to a Report Page

    I'm trying to add a Print button to a report page to render the page in printer-friendly mode and then give the user the option to send to a printer. I started with just trying to add a print button. I added a button to the region and added to the button request value javascript:window.print();. When I click on the print button, nothing happens. So I tried to add some html code:
    <form>
    <input type="BUTTON" value="Print" onClick="window.print()">
    <form>
    as a condition in Expression 1 when I selected "Current page is NOT in Printer Friendly mode". Nothing happens when I click on the print button. Can anyone offer some steps to create this functionality or point me to documentation on how to do this? I have tried the help documentation within APEX and isn't clear to me.
    Thanks

    The documentation wasn't very clear to me. I did try one suggestion to create a region on the report page and call it Print. The suggestion is then to add the following code to the Source Region section:
    <form>
    <input type='BUTTON' value="Print this page" onClick="window.print()">
    <form>
    The example however leaves out some significant information however. What is the region created as e.g. HTML, Report, Form, URL, etc?

  • A print button in a Report

    I have a displayed version and a printing version of a report. I want the end-user to print the "printing version". Therefore, I cannot use print window and also because the entire report does not show in the window. I want to create a button or hyperlink in the report that enables the end-user to execute the run link for the printing version of the report in a different window and print it using the browser's print function. What objects do I need to create to achieve this?

    I managed to do this in the following way:
    1. Create two reports - Your_report and Your_printable_report
    2. Put this in the additional PL/SQL section of "Your_report".
    htp.p('<a target="_blank" href="<URL of Your_printable_report.show>">View printable version</a>');
    3. In the additional PL/SQL section of "Your_printable_report"
    htp.p('<form><input type="button" value="Print" onClick="window.print()"></form>');
    This creates the first report with a hyperlink to the printable version, which has a button to print it.
    Hope this helps,
    Hsiu

  • HOWTO: Control Printer Attributes for a Report at Run Time Reports 6i

    HOWTO: Control Printer Attributes for a Report at Run Time
    Like page width , height etc
    my problem is i had installed a printer and it is set for
    printing different reports ( like invoice slips , legal size ,
    A3 etc ) each time i have to manually set the page settup from
    printer folder .instead if there is an option to set the printer
    attributes from Reports 6i it is great
    rajesh

    All the Printer Setup(Page Height and Page Width) must be set in
    the Reprot Program. These can be set at the Layout-Main Section
    in the Object Navigator.
    hth

  • Officejet Pro 8600 will not print multiple copies

    When I first set up my HP Officejet Pro 8600 I could print multiple copies.  Not sure when, how, or why but I can no longer print more than one copy of any document at a time regardless if it is one page or 100 pages.   I tried to update the drivers but the update failed as it said it could not uninstall the printer. When I did the error reporting it said there was no solution.
    My OS is Window XP Home
    The printer is connected via network.
    I print mainly from MS Word 2010 and Adobe PDF files and I have the same issue from either program.
    This question was solved.
    View Solution.

    Since the drivers and software refuses to update automatically, force it to. Uninstall all of the printer software and install it back using a fresh download. That will ensure that you have the latest driver and software for the printer installed and eliminate the need for updates for a while. I'll link them below. If that doesn't fix the problem with multiple documents not printing, try using an alternate driver for the printer. I'll link those instructions below. Let me know what happens.
    HP Officejet Pro Full Feature Software and Driver
    How to Assign Alternate Print Drivers in Different Versions of Windows
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

Maybe you are looking for