Solved

column colors in access 2010 report

Posted on 2013-01-31
6
705 Views
Last Modified: 2013-03-04
I need to alternate the back color of the columns in my access report.  4 columns - every other column is "some color".  I know you can do that for rows, but I can't find anything about doing it for columns.  Is that possible?
0
Comment
Question by:ATXTHA
6 Comments
 
LVL 84
ID: 38841783
There is no builtin "alternate column backcolor", but you could just set the BackColor of your report columns as desired.

So for the first 4, you'd just have a transparent backcolor, then for the next 4 you'd set the backcolor, and so on.

Unless I'm missing something ...
0
 
LVL 29

Expert Comment

by:IrogSinta
ID: 38841796
If your column fields don't fill up the detail section (height-wise), you can add a colored box behind alternate columns. Just make the height of the box the same as the detail height and set the backcolor property of each box.
0
 

Author Comment

by:ATXTHA
ID: 38841827
What I forgot to mention is the columns I'm talking about come from page layout and not from having 4 text boxes in my detail.
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 84
ID: 38841902
What do you mean by "page layout"?
0
 
LVL 29

Expert Comment

by:IrogSinta
ID: 38841999
I don't believe you could do that using the column layout.  A way you could do this though is to create a subreport and add a subreport control into your report multiple times (each with a different Master/Child link).  You could then add code in your OnFormat event to change the backcolor of alternate subreports.
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 38857403
ATXTHA,

As you can see, there is no simple way to do what you are asking.

To be fair, I have never seen a request like this.
Can you explain the need for this...?

With rows, it is needed to line up all the fields for a single record.
Because the columns are vertical, there is little need to alternate the colors.

Also note that report a report "Field" can span multiple report sections, so you would need to sync this "Coloring" for all report sections...

Finally note that "records" (rows) are generated one at a time (On Detail Format)
The columns are hardcoded graphical elements that can even overlap.

So perhaps you could post an actual graphic of your report and show the "*exact, graphical* result you are seeking.

JeffCoachman
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
subtract 1 in Access 2003 query 7 39
Run Time Error 3071 26 40
Problem with syntax with TransferDatabase 3 15
addressing a subform frim a subform inside it 8 23
This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

867 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

19 Experts available now in Live!

Get 1:1 Help Now