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

Posted on 2013-01-19
Medium Priority
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.
Question by:alam747
LVL 29

Accepted Solution

IrogSinta earned 2000 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.

Author Closing Comment

ID: 38798823
Thanks a lot for your help

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

597 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