Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove line if blank in Page Header
Message
 
To
16/04/2007 08:37:32
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01216167
Message ID:
01216195
Views:
23
This message has been marked as the solution to the initial question of the thread.
The problem you may be running into is that the entire line must be blank before it gets removed and other objects get moved up. So if you have other objects to the right or left, they could be preventing the line from removing.

But don't fret .. there is an easy solution to your problem. Instead of creating 4 objects on the report and trying to use Print When and Remove When Blank, create one object and stretch it to be 4 lines tall. For the expression, enter this:
CompName;Addr1;Addr2;City,State,Zip
The ";" and the "," are special characters in the report writer. The ";" tells the report writer to combine the stuff before and after the ";" using a CRLF .. however .. if the second part is blank it doesn't bother adding the CRLF. The "," tells the report writer to trim the items before and after and then combine them with a space in between .. but it doesn't bother to add the space if the second part is blank.
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