PRB: Extra Blank Lines Print in the Detail Section of a ReportID: Q129848 The information in this article applies to:
SYMPTOMSWhen you print a report containing several fields all on a single detail line and you suppress output from all fields for that detail line based on a given condition in a database field, the result contains extra space (blank lines) for those records that don't meet the condition. This happens only when there is extra space between the bottom of the field objects and the top of the Detail band.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior1. Create a database with the following structure and data:
2. After creating the table, enter approximately 30 records or enough to
3. Create a tabular report consisting of this single detail line:
4. Modify each field in the Detail band such that each field consists of
5. Enable the option to suppress blank lines for all four fields in the
This report works if there are no blank spaces of any kind between the
bottom of the field objects and the top of the Detail band. However, if
there is any space whatsoever, blank lines are printed regardless of the
IIF expression and 'Remove Line If Blank' settings. Any blank space below
or above the fields will be printed when the report is printed. This is by
design.
To demonstrate this, move the Detail band so that it is directly touching the bottom of the field objects. Doing a "Print Preview" should yield all records printed where REPVAL = .T. with all blank lines suppressed. Any records where REPVAL is blank or .F. should not appear. This would be the expected behavior. Now, move the Detail band down so that there is some blank space and preview the report a second time. You should now see some records printed where REPVAL = .T., some blank lines where records would print if REPVAL was true instead of false or blank, and then some more records where REPVAL is true. Example: Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 2.60a report blank
line suppress
KBCategory: kbprint kbprb
KBSubcategory: FxotherGeneral
|
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |