Using conditional formatting
Video: Using conditional formattingAccess 2010's conditional formatting has a new interface with the addition of data bars. Let's open up our Salaries Report. Conditional formatting can be used on all forms and reports so that you can color-code significant values. The new data bars give you a visual comparison as well. We are going to apply them to our Salary column. So, while you have a Formula Report open go to the Layout View and then in the Report Layout Tools go to the Format tab. Click in the field that you want and you'll notice that they'll all highlight.
Viewers: in countries Watching now:
In Access 2010 New Features, author Alicia Katz Pollock explains each new and enhanced feature in Microsoft Access 2010. This course covers the Backstage view that replaces the File menu in Office 2010, shortcuts for building tables, new layout tools and navigation controls, the macro designer featuring IntelliSense, as well as exporting to and collaborating in SharePoint. Exercise files accompany the course.
- Working with Application Parts
- Implementing the Table Tools ribbon
- Using Quick Start and calculated fields
- Designing with Layout View formatting tools
- Taking advantage of enhancements to the Conditional Formatting feature
- Automating with macros
- Working with external data
- Integrating SharePoint publishing
Using conditional formatting
Access 2010's conditional formatting has a new interface with the addition of data bars. Let's open up our Salaries Report. Conditional formatting can be used on all forms and reports so that you can color-code significant values. The new data bars give you a visual comparison as well. We are going to apply them to our Salary column. So, while you have a Formula Report open go to the Layout View and then in the Report Layout Tools go to the Format tab. Click in the field that you want and you'll notice that they'll all highlight.
Then I'll click on the Conditional Formatting button. Notably, the new dialog box lets you switch between your fields so you can apply conditional formatting all in one place instead of one field at a time. Let's create a rule. I'll click on New Rule. We are going to set the Salary so that if the field value is greater than or equal to 3000 we'll have it turn bold and green. And then I'll click OK. I'll add a second rule and this time I make it so that the field value is less than or equal to 1000.
We'll turn these bold and red and then I'll click OK. Now that I have these two, I'll click Apply and I can see how they look in the field. If the order of my rules matters, I can use the Move Up and Move Down arrows to reorder them. Now, let's make another new rule using the data bars. I'll click on New Rule. This time I'll choose Compare to other records. If I wanted to show just bars and not the actual numbers I can turn on Show Data Bar Only.
I am going to go ahead and leave it off so that it shows both the coloring and the actual values. Now these data bars are relative. You can set your shortest bar and your longest bar according to comparing their actual lowest and highest values or you can set the lowest and the highest to a specific number or to a percentage. We are going to leave them on lowest value. The last thing I am going to do is change the color so that it matches the rest of my database. I'll click OK and Apply.
It looks good so I'll OK to close the window. Now, when I am looking at my salaries, I can see who are my highest paid people and who are my lowest paid people at a glance. All in all the new conditional formatting dialog box and options make this useful tool even more of a pleasure to use.
Find answers to the most frequently asked questions about Access 2010 New Features .
Here are the FAQs that matched your search "" :
- Q: My macro isn't running correctly. I followed along with the author and I'm not receiving an error message, but the actions are performed correctly.
- A: There are several possible reasons why a macro would malfunction. Make sure that the macro is written correctly. Capitalization and punctuation matters. Also make sure to click in all the same places when recording the macro. With enough practice, building macros will become more routine, and spotting errors will becoming easier.
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.