Solved

Group text fields so they grow together in a report

Posted on 2014-02-06
4
388 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

758 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

20 Experts available now in Live!

Get 1:1 Help Now