3 Replies Latest reply on Aug 29, 2011 10:02 AM by philmodjunk

    Portal printing issue

    Matty_1

      Title

      Portal printing issue

      Post

      Hello,

       

      I have a layout (please refer to the attached JPEG) which displays up to 20 sale entries.  I'm looking for ideas/solutions for when I have more then 20 entiries to display.  Ideally I'd prefer not changing the layout of the page (Owners request)

       

      Thank you in advance!

      SalesContract.jpg

        • 1. Re: Portal printing issue
          philmodjunk

          Most flexible option is to base your layout on the line items portal. Then each record forms one row of data on your reciept and this will adjust automatically for different numbers of line items.

          The invoices starter solution and this demo file created by comment use that method for printing invoices:  http://fmforums.com/forum/showpost.php?post/309136/

          A less flexible option is to set your portal to be many rows taller and set the portal to "Slide up", "Resize enclosing part". This works, but it can be difficult to set a "maximum number of rows" that will work for every possible invoice in some cases.

          Key facts about sliding layout objects:

          1. It's only visible in preview mode and when you print/save as PDF...
          2. All layout objects below and in the same layout part as the slide/resize field need to also be set to slide up and resize.
          3. Objects in headers and footers will not slide.
          4. Portals will shrink/slide to fit the number of rows of records, but fields within the portal row will not shrink/slide.
          5. Consistent side borders are difficult to achieve with sliding fields.
          • 2. Re: Portal printing issue
            Matty_1

            Thank you Phil, as I mentionned we don't want to change the layout of the page but more so have the columns shrink or get longer as per the number of entries (being displayed in a portal)  If I go to the line item option I wont be able to maintain the header and footer (as far as I know) because the data is being displayed in a portal.

             

            I'd also be open to keeping the layout exactly the same but have page numbers instead.

            Thoughts?

            • 3. Re: Portal printing issue
              philmodjunk

              Please check the demo file over. You'll find that your concerns are handled in the demo. You can add fields from the Invoice table to the header and footer (or grand summary and sub summary) layout parts of this LineItem based layout.

              Changing layouts to print the invoice can be a process that is invisible to the user if you want.