Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove lines in a Summary
Message
 
 
To
05/11/2001 17:13:52
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00577650
Message ID:
00577721
Views:
25
This message has been marked as the solution to the initial question of the thread.
>In a Report Summary I put several lines to be printed only when some conditions are true. It works fine with "Print When" option, but I don't like the empty space which remains in that case. In a Detail section of the report I can switch on the option "Remove line if blank", but I can't do it in Summary section. I know I can do it with opening report in the run-time as a table and remove all that lines programatically with recalculating coordinates of all those fields at the end of report, but it's rather unfriendly solution. So, any better idea?
>

The following is based on the tip 'How to have second summary bands with EOF()' from the book '1001 Things You Wanted to Know About Visual FoxPro' from http://www.hentzenwerke.com/catalogavailability/kilofox.htm

1. Create new group with group expression EOF()
2. Move all your fileds from the Summary into the footer of this new group
3. For all fields change 'Field Position' to 'Float' and check 'Remove Line If Blank'.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform