Skip to Content
author's profile photo Former Member
Former Member

Automatically Print Duplicates of Report

For records purposes, a purchase order needs to be printed 6 times. Is there a setting or formula I can add somewhere that when anyone goes to print a PO, it prints 6 copies?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 08, 2015 at 07:09 PM

    Hi Ryan,

    You'll need to create a SQL Query that duplicates the records six times over. Best way to do this is to by using the UNION operator and a field (with a unique value) that separates each query.

    You can then group on this field and set the 'New Page After' on Group Footer.

    E.g:

    Select 1 SrNo,

    field1,

    field2

    from table

    UNION

    Select 2 SrNo,

    field1,

    field2

    from table

    .

    .

    .

    UNION

    Select 6 SrNo,

    field1,

    field2

    from table

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 09, 2015 at 05:37 PM

    So would I create this SQL expression in the "SQL Expression fields" ?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Abhilash Kumar

      Can "SrNo" be labled "PONO" ? I don't think we have an SR #.

      I have 9 tables that go into the report, so that would equal 9 Select statements, correct? Then would I copy the 9 select statements 6 times so that's 54 statements in total?

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.