Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access 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 September 15th, 2006, 11:15 AM
ru1 ru1 is offline
Authorized User
 
Join Date: Feb 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default Easy One

How can I stop a line from printing in an MS Access report if there is no data in it? For example, the second line of an Address in a Lable report? But, this is not in a Label report, it is a regular report?


 
Old September 15th, 2006, 02:05 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Set the control's Can Shrink property to Yes

What do I win?

mmcdonal
 
Old September 15th, 2006, 10:36 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 217
Thanks: 0
Thanked 1 Time in 1 Post
Default

Chuck,
Another alternative. If the field name is [Address2]:

1) create an unbound text box where you want [address2] to print.
2) set it's value to " = iif([address2] <> "", [address2], "")






Similar Threads
Thread Thread Starter Forum Replies Last Post
An easy one for you... pepocles BOOK: Access 2003 VBA Programmer's Reference 0 September 7th, 2006 05:33 PM
Probably easy but... AMP - Max Current BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 December 20th, 2004 02:55 PM
Easy Question - I think gmoney060 Classic ASP Basics 3 November 2nd, 2004 06:54 PM
NOT Easy Enough!!! wilson Forum and Wrox.com Feedback 3 July 16th, 2004 07:14 PM
This should be easy benibell Javascript 1 June 22nd, 2004 05:50 PM





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