Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
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 January 29th, 2004, 03:46 PM
Registered User
 
Join Date: Jan 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Formatting Report Detail Section

I am encountering a problem when I modify the properties of labels and text boxes using VBA code. If I make an object’s visible property to false it does disappear however it still seems to take up space. I then tried to set the height property to 0 this worked however the detail section appears to be taking up too much space. Next I tried adjusting the Detail Section Height then it appears I am losing some of the auto sizing features of the detail section such as eliminating blanks spaces for bound objects that have no data. What am I doing wrong if someone could point me in the right direction it would be greatly appreciated.

Thanks

 
Old January 29th, 2004, 05:37 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

Try setting the fields' and the detail section's Can Grow and Can Shrink properties to TRUE in the report's design view.


Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old January 30th, 2004, 09:17 AM
Registered User
 
Join Date: Jan 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Serrano G

I have those options already set, I guees I should also mention that we are using an access adp file as a front end incase that makes a difference. Basically the way want this report to work is that I have column headers that can start any where on the page, because we have a bunch of other stuff on the page for page and report headers. We haven't figured out yet how to group using ADO as well. I hope that this helps someone to help me.

Thanks

 
Old February 3rd, 2004, 07:15 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I guess I do not understand what exactly you are trying to do. The can grow can shrink should take care of the vertical problem. You seem to want to go horizontal.



Sal





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
Shrink Detail section on a report TimLB Access 2 January 23rd, 2007 08:45 AM
Dynamic Detail section sudarshan73 Crystal Reports 1 January 20th, 2006 05:23 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.