stac_1 Posted January 16, 2002 Share Posted January 16, 2002 With your help, I discovered how to save a conciderable amount of wasted space when running a report by using the "Reduce size of the enclosing part" feature, which is a wonderful thing. But, I still have a bit of empty space showing up. Is there a default amount of "part" that will always show up or is there a way to omit the enclosing part completely when nothing is in the part? Link to comment Share on other sites More sharing options...
Thom Posted January 16, 2002 Share Posted January 16, 2002 Any vertical section of a Part that is not covered by a field will not shrink. If you have whitespace above and below a text field, and the text field is set to slide up and reduce the size of the enclosing part, then an empty text field will cause the section it's covering to vanish, but the whitespace above and below will remain. One way around this is to place copies of the text field above and below the original, resized to exactly cover the whitespace vertically (horizontally doesn't matter). Change the background and text colors to that of the background, so that they are invisible in Preview mode. Set all the fields to slide up. Now, when the text field is empty, the entire Part will slide up and dissappear. Another approach is to use a calc field that returns a space if the text field is not empty, blank if it is empty: spacer(calc,text)= If( IsEmpty(textField), "", " " ) Place copies of this field in the whitespace above and below the text field. Change the text size of the spacer field to exactly fill the whitespace vertically. Set all the fields to slide up. Link to comment Share on other sites More sharing options...
danjacoby Posted January 17, 2002 Share Posted January 17, 2002 Another little thing about sliding -- header parts won't shrink. I know, it stinks, but that's the way it is. Link to comment Share on other sites More sharing options...
d94dsj Posted July 21, 2002 Share Posted July 21, 2002 Dan, According to the FM Help, this applies to footers as well, but I could have sworn that I've made a footer shrink before! But now I can't make my footer part shrink. Can you/someone confirm this? Does anyone have a workaround if shrinking doesn't work for footers? Thanks, Daniel Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8115 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now