4 Replies Latest reply on Jun 15, 2015 11:20 PM by philmodjunk

    Sliding fields  not in body

    jolynneowen

      Title

      Sliding fields  not in body

      Post

      I only want to slide address lines that are empty on an invoice, but the address cannot be in the body which contains the line-items from the order.  I see it posed that objects in header and footer parts do not slide.  Is there any part other than the body which would enable sliding fields?  I have not been able to make it work.

        • 1. Re: Sliding fields  not in body
          philmodjunk

          Try a leading grand summary part instead of the header.

          • 2. Re: Sliding fields  not in body
            jolynneowen

            It does not seem to work there either.  I have marked all but the top line as sliding up -- objects above only.  Also under autosizing have top line locked for left and top.  Rest of lines locked left but not top.  The last line needs to slide left as well as up for all but the first word. 

            • 3. Re: Sliding fields  not in body
              SteveMartino

              Are you saying you want to remove lines if the doesn't have, say an address2 field, or an Attn: field?

              If so, you could create a field, call it Mailing_label and use the list function:

              List(
                   Customers::cCustomer_name;
                   Customers::Address1_ship;
                   Customers::Address2_ship;
                   Customers::City_ship & ", " & Customers::State_ship & "  " & Customers::Zip_Ship
              )

              This will eliminate the space for Address2_ship, if it's not in the records.  Only caveat, it will show spaces if one of the last 3 are missing-City, State, Zip, but they should be filled in on the records.  If you do need to account for that, then you could use a case statement to eliminate the comma sign and extra spaces-it would be better to fix the data.

              edit: I see your response to Phil.  Can you post a screenshot of your layout?

              • 4. Re: Sliding fields  not in body
                philmodjunk

                Auto-size anchors are not a detail to select for sliding up. Alignment within the field is a detail that can affect sliding.

                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.