5 Replies Latest reply on Feb 27, 2009 12:59 PM by nealt

    Printing a list view or table view longer than one page

    nealt

      Title

      Printing a list view or table view longer than one page

      Post

      I have a report that runs more than a page length. On screen one can see all entries by using the verticle scroll bar. How do you print out the report? It truncates the lines to one page length.

        • 1. Re: Printing a list view or table view longer than one page
          mwc_1
            

          I would make a new layout just for printing this data.

           

          When you refer to 'using the verticle scrollbar' are you refering to a portal on a form view layout, or just scrolling in a list view layout? If you are printing a portal, you will need to expand it to a maximum amount to show all the data. Using the "set sliding/printing" function from the format menu will shrink the unused space in the printed piece (or in preview mode)

          • 2. Re: Printing a list view or table view longer than one page
            nealt
               I am not using a portal which has limits on the number of lines.
            I just have a layout with a short body heigh and List View. This has worked for me in earlier versions of FM. I would just Print browsed records and FM would print out to as many pages as necessary.

            • 3. Re: Printing a list view or table view longer than one page
              mwc_1
                

              I have to ask if your print range is correct - ALL or 1 to 1?

              And Page Setup is correct?

               

              (sorry, just asking)

               

               

              • 4. Re: Printing a list view or table view longer than one page
                nealt
                  

                First I kodified the script:

                Print Range
                Open File [ "Auction" ] Enter Browse Mode Show All Records
                Go to Layout [ "Invoices" (Auction) ]
                Show Custom Dialog [Title: "Field Range"; Buttons: "OK", "Cancel"; Input #1: Auction::firstprint, "From Paddle #"; Input #2: Auction:: lastprint, "To paddle #" ]
                Set Field [ Auction::presentrecord; Auction::presentrecord=Auction::firstprint ]
                 Loop
                Set Field By Name [ Auction::presentrecord; Auction::presentrecord = Auction::firstprint ]
                 Exit Loop If [ Auction: :Iastprint <Auction: :presentrecord ]
                Enter Find Mode [ ]
                Set Field By Name [ Auction::Pattle number; Auction::presentrecord ] Perform Find [ 1
                Print [ ]
                Set Field [Auction::Pattle number; Auction::Pattle number= Auction::Pattle number + 1 ]
                 End Loop
                Enter Browse Mode

                 

                What seems to be the problem is getting Auction::present record into Find.







                • 5. Re: Printing a list view or table view longer than one page
                  nealt
                    

                  My previous reply is in the wrong thread. I appologize.

                   

                  For some reason the print dialog box defaults to 1 to 1.

                  Most programs default to All

                  Thanks for the info.