Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Group text fields so they grow together in a report

Posted on 2014-02-06
4
Medium Priority
?
408 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 85
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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
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.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

886 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