Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Color in Access Reports

Status
Not open for further replies.

JJOHNS

MIS
Sep 12, 2001
171
US
I have a report for a list of employees. In each record, there are four checkboxes that tell me something about the employee. On the report, I'd like the record to be highlighted a particular color if one of the four checkboxes is checked.

I've managed to get the form to highlight in color as I click through all the records. Can someone tell how to do it with a report?

 
Without knowing how the form is set up. I would tell you to apply the same logic the you used in the form to the report.

 
Hi,
In forms you can use If... Then Statement. But in the case of Reports you have to use If...then...Else
Form
=========================
If Me![Sales] >= 10000 Then
Me![txtSales].FontBold = True
End If
==========================
Report
==================
If Me![Sales] >= 10000 Then
Me![txtSales].FontBold = True
Else
Me![txtSales].FontBold = False

End If
===========================
Regards


Zameer Abdulla

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top