Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

column colors in access 2010 report

Posted on 2013-01-31
6
Medium Priority
?
838 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
[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
6 Comments
 
LVL 85
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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 85
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 1500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

670 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