Solved

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

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
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…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now