[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 414
  • Last Modified:

Group text fields so they grow together in a report

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
CompTech810
Asked:
CompTech810
  • 3
1 Solution
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
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
 
CompTech810Author Commented:
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
 
CompTech810Author Commented:
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
 
CompTech810Author Commented:
Found an alternate solution.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now