Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suppressing Blank Lines Top of Page?
Message
 
 
To
23/10/2006 14:52:25
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01163959
Message ID:
01164013
Views:
11
This message has been marked as the solution to the initial question of the thread.
Albert,

Try following (not tested):
1. Create a report variable as shown below
Variable: rnLineCounter
Value to Store = 0
Initial Value = 0
Calculation Type: Count
Reset At:End of page
2. Put into Print When for Empty line
rnLineCounter > 1 
>
>Anyone know how to suppress blank lines at the top of page - but only at the top of a new page? Report prints payment details and every 5 rows there is a blank row. Client wants a blank row to be suppressed if it appears in the first row of a new page.
>
>I attempted to do this by first capturing the .Top position of the first row in the detail band in the first pass of the report by putting in an invisible rectangle at the end of the row; then in Render() I put:
>
<snip>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform