Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Conditional Formatting based on another fields value in a report?

Posted on 2011-02-26
5
Medium Priority
?
268 Views
Last Modified: 2012-05-11
Hi all,

How would I say if the field "type" is equal to positive then the back colour of the text field "text1" is green and if the "type" field is equal to negative then the text field "text1" should have a back colour of red and a font colour of white?

Thanks

Chris
0
Comment
Question by:smods
  • 3
5 Comments
 
LVL 6

Expert Comment

by:AkAlan
ID: 34989466
Have you tried using the built in Conditional Formatting feature of Access?
Which version of acces are you using?
0
 

Author Comment

by:smods
ID: 34989486
2003.  I am using that on other fields but there doesn't seem to be the option to base the formatting on a different field??
0
 
LVL 6

Expert Comment

by:AkAlan
ID: 34989493
You need to use an expression when you go into Conditional Formatting the drop down "Field Value Is " select "Expression Is" then use the wizard. It will help a lot.
0
 
LVL 6

Expert Comment

by:AkAlan
ID: 34989518
I'm going to leave work soon so if you need an example let me know.
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 34989563
in the design view of the report, select text1, then
Format > conditional formatting, and set as shown

 x
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

885 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