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
Solved

How to change the color of each record of an access report

Posted on 2013-01-19
2
628 Views
Last Modified: 2013-01-20
Hi Expart,

I have an access report, I want to change the record color alternately while preview it.

for example, if the report has 10 (lines) records of data in reports details while do the preview, if there any way to change the color as if first line is white the next line will be light grey and again third line white and then forth line is grey accordingly,
if you can provide me VBA code to do that.
I am using office 2010.
0
Comment
Question by:alam747
2 Comments
 
LVL 29

Accepted Solution

by:
IrogSinta earned 500 total points
ID: 38797656
You don't need code for this. In the report's design mode, click on the Detail section and in your property sheet you'll see properties for Back Color and Alternate Back Color. Just select a different color for one of them.
0
 

Author Closing Comment

by:alam747
ID: 38798823
Thanks a lot for your help
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

Question has a verified solution.

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

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
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.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

861 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