Solved

Group text fields so they grow together in a report

Posted on 2014-02-06
4
389 Views
Last Modified: 2014-02-11
Hello Experts,

I'm creating an Access 2007 report that has fields that need to grow identical to each other.  So if one field grows they all need to grow to match the hight of the tallest field.  

I have attached an example of what it currently looks like.  Again, all columns height should be the same as field 2's height.

How can I accomplish this?

Thanks!
0
Comment
Question by:CompTech810
  • 3
4 Comments
 
LVL 84
ID: 39838952
2007 introduced the concept of "anchoring" controls, which means you can tell those controls to grow/stretch as needed. To do that, open the report in Design view and select the control, then select Arrange tab - Size - Anchoring. There are multiple choices, and you may have to select one or more to get what you want.

See this MSFT article: http://office.microsoft.com/en-us/access-help/make-controls-stretch-shrink-or-move-as-you-resize-a-form-HA010253986.aspx
0
 
LVL 2

Author Comment

by:CompTech810
ID: 39839009
The anchoring works for forms but not reports.  At least when I open the report in design, select the arrange tab, then size, anchoring isn't an option.  I tried opening a form and doing the same thing and the anchoring option is there.
0
 
LVL 2

Accepted Solution

by:
CompTech810 earned 0 total points
ID: 39839927
I opted to have the text font change based on the amout of text.

Here is a link to the code I used.  http://www.lebans.com/toc.htm
0
 
LVL 2

Author Closing Comment

by:CompTech810
ID: 39849661
Found an alternate solution.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now