Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove if blank and Fix relative to top in Header
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00819972
Message ID:
00820105
Views:
17
The behavior you are seeing is by design. Whenever you tell it to remove line if blank, it will remove the line and any additional space between itself and the object above it.

Many times this is what we want it to do. Unfortunately, in your case, it isn't what you need. However, I do have a suggestion on how to trick it and make it do what you want. Just above the attention line, add a horizontal line and set the pen color to white. When VFP removes the attention line, it will only remove the line and since the line is the next object above it, it will only remove the space up to the line. So the line helps preserve the space between the date and the attention line.

I'm not sure if this will work but a simplier approach would be to stretch the size of the date field through that 1/2" of blank space so it stops just above the attention field.

Cathy



>On a report that is a form letter, all of the fields that make up the body of the letter are positioned in the report header (a list follows in the detail band.) All of the fields in the header are marked Remove line if blank and Fix relative to top. That band begins with a date followed by half an inch of space and then the inside address. The first address line is an attention field that may occasionally be blank. When this happens, the report prints the second line of the address immediately below the date, ignoring Fix relative to top as well as the half inch of space that is supposed to follow the date. The work-around seems to be to NOT check Remove line if blank for the first address field. Is this normal behavior that I have simply overlooked all these years?
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform