6 Replies Latest reply on Feb 3, 2014 4:25 PM by philmodjunk

    Printing data/text in a specific field

    KevinIson

      Title

      Printing data/text in a specific field

      Post

           I am after script or instructions on how to print text that has been entered into a specific field. Everything I try only prints out the current page that I am in. I have a field on a layout called "History" and I need people to be able to print out it's contents.

        • 1. Re: Printing data/text in a specific field
          philmodjunk

               Can you describe in more detail what you are trying to do? Perhaps by giving an example?

               FileMaker prints one or more records from the current layout. To do what you describe requires setting up a layout to print from the field that you want to print and then finding the record or records need before printing either the "current record" or the Records being browsed.

               I can't tell enough from what you have described to be sure, but you may just need to perform a find for the record with the text that you want and print it.

          • 2. Re: Printing data/text in a specific field
            KevinIson

                 Thanks, I think setting up another layout for printing will be the answer. It is not the layout or record I need to print it is the actual text in a specific field that needs to be printed.

            • 3. Re: Printing data/text in a specific field
              RickWhitelaw

                   Then you need a layout with only the text field on it. Probably List View would work best.

              • 4. Re: Printing data/text in a specific field
                KevinIson

                     Thanks Rick, this worked perfectly, much appreciated.

                • 5. Re: Printing data/text in a specific field
                  KevinIson

                       I have another question related to printing filed contents. How do I force a new page when there is too much text to print on the one page/layout?

                  • 6. Re: Printing data/text in a specific field
                    philmodjunk

                         Make the field two pages tall. Set it to "slide up" and to "resize enclosing part". These are settings on the position tab of the Inspector.

                         Key facts about sliding layout objects:

                           
                    1.           It's only visible in preview mode and when you print/save as PDF...
                    2.      
                    3.           Sliding fields will shrink but not expand.
                    4.      
                    5.           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.
                    6.      
                    7.           Objects in headers and footers will not slide.
                    8.      
                    9.           Portals will shrink/slide to fit the number of rows of records, but fields within the portal row will not shrink/slide.
                    10.      
                    11.           Fields will slide up only if Top alignment is specified for it and will slide left only if Left alignment is specified.
                    12.      
                    13.           Consistent side borders are difficult to achieve with sliding fields.
                    14.      
                    15.           In FMP13, hidden objects (”Hide object when”) will slide/resize.