Solved

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

Posted on 2013-01-19
2
635 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
[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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
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 simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

730 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