Solved

Group text fields so they grow together in a report

Posted on 2014-02-06
4
393 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Outlook 2016 VB code syntax 4 39
How To Overlay Combo Box Row Source Type 'Value List' From VBA 2 52
Cant delete records in query 8 50
Multiple tables for a tabbed form 2 33
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

752 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