Solved

column colors in access 2010 report

Posted on 2013-01-31
6
757 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

830 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