Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old January 22nd, 2007, 01:30 PM
Registered User
 
Join Date: Jul 2006
Location: Yeovil, Somerset, United Kingdom.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Shrink Detail section on a report

Hi everyone
I have an Access report with an image box and 3 much smaller text boxes in the detail section. I am trying without success to shrink this section when the the image content is null. I have set all the Grow/Shrink properties on the controls (including detail) to yes. Detail height attribute is read only. The image control is set not visible when null and I would like to close up the resulting white space. Any help would be much appreciated.

Thank you

  #2 (permalink)  
Old January 23rd, 2007, 08:25 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

You could try setting the height of the image control when null.

mmcdonal
  #3 (permalink)  
Old January 23rd, 2007, 08:45 AM
Registered User
 
Join Date: Jul 2006
Location: Yeovil, Somerset, United Kingdom.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the suggestion. Have tried changing the height of the image control in on_format section. This grows the detail section but reducing the height does not shrink the section. (grow/Shrink both set to yes) Works OK with the variable height text boxes,if the image control is removed. Is there way to conditionally skip to the next section after x number of lines have been printed ??



Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal report Freeze detail section. dpkbahuguna Beginning VB 6 0 August 23rd, 2007 05:29 AM
Change size of the Detail section of Forms/Report sinajs Access 1 February 13th, 2007 01:05 PM
Dynamic Detail section sudarshan73 Crystal Reports 1 January 20th, 2006 05:23 PM
Formatting Report Detail Section rickf Access 3 February 3rd, 2004 07:15 PM
Detail Section Height rickf Access VBA 1 January 29th, 2004 07:53 PM





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