Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 10th, 2006, 01:00 PM
Registered User
 
Join Date: Jun 2006
Location: Columbus, OH, .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Force Section to Page Bottom

I have a report which is for batches of invoices. It is grouped on invoice number. At the bottom of the page, I have a 'detach and remit with payment' section. I always want that forced to the bottom of the page, regardless of how much white space is left above.

I don't know how to accomplish this. When I put the stuff in the footer, I'm told, "Fields cannot be used in page headers or footers". However, I don't know how to make a section in the body take the 'leftover' room at the bottom of the page, and to put everything at the bottom of that space.

Any ideas, hints, tips? It would be MUCH appreciated.

There are 10 types of people in the world. Those that understand binary, and those that don't.
 
Old August 11th, 2006, 09:13 AM
Registered User
 
Join Date: Jan 2006
Location: Crawley, Sussex, United Kingdom.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
   I think that if you start your bottom bit at "e.MarginBounds.Bottom" minus however high the bottom bit is it will always print in the same place.
You will have to protect this area by preventing any print above overwriting the area.

 
Old August 14th, 2006, 09:37 AM
Registered User
 
Join Date: Jun 2006
Location: Columbus, OH, .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the suggestion.

I've still not figured out how to do this because it isn't as simple as plugging a calculation into the Location > Top property.

It is a good hint though, I'll try to follow the lead. i'm surprised an answer hasn't smacked me yet, as a group footer can't be that hard to force to the bottom of a group's last page.

-=-=-=-=-=-=-=-=-=-=
There are 10 types of people in the world. Those that understand binary, and those that don't.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Force Stub to Page bottom dsentelle Reporting Services 0 August 14th, 2006 10:18 AM
Minor textual error chapter 12 bottom of page 406 haguna BOOK: Professional VB 2005 ISBN: 0-7645-7536-8 0 April 16th, 2006 05:48 PM
Force page break to keep group together jmurdock BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 September 9th, 2004 10:08 PM
how do I force a connection without my page loopng aadz5 Classic ASP Basics 1 June 22nd, 2004 11:21 AM
Need help with Radio Bottom pjdas JSP Basics 0 November 21st, 2003 02:12 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.