Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 10th, 2006, 02: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.
Reply With Quote
  #2 (permalink)  
Old August 11th, 2006, 10: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.

Reply With Quote
  #3 (permalink)  
Old August 14th, 2006, 10: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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Force Stub to Page bottom dsentelle Reporting Services 0 August 14th, 2006 11: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 06: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 11:08 PM
how do I force a connection without my page loopng aadz5 Classic ASP Basics 1 June 22nd, 2004 12:21 PM
Need help with Radio Bottom pjdas JSP Basics 0 November 21st, 2003 02:12 PM



All times are GMT -4. The time now is 10:22 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.