Home  Fees/Services  Access 2010 Template  Access Tutorial  Access Download  Articles  Search  Contact  Privacy  Links

Conditional Formatting Example Download

Open Email Using SendObject Access Download

User Inactivity Logout VBA Code

Disable Shift Key Demo

Send Email Microsoft Access Tutorial Download (Advanced)

Sequential Counter in Query

Multi Select List Box Query Parameters

Row Level Data Security

Programming MS Access Security Alternative

Single User Inventory Calculations Download

How To Perform Multi-User Inventory Calculations

Make Dependent Combo Box Code MS Access Tutorial

Union Query Example (Simple)

Union Query (Advanced) Access Tutorial

How To Fill Fields From Combo Box

Use Global Variables as Parameters

Continuous Form Dependent Combo Box

How To Program Continuous-Continuous Master/Detail Forms

Access Bar Chart / Bar Graph

Programming Crosstab Query Example

TransferText & OutputTo Microsoft Access

DoCmd.OpenForm & OpenArgs VBA Example

Running Sum Query Method

Choose Command Dynamic SQL Order By

Access Conditional Format

Access Report Banding

Popup Form Control Method

Conditional Formatting

Change Visual Properties of Form & Report Fields

Conditional formatting of fields in Access forms and reports provides a powerful method for highlighting information in an otherwise monotonous continuous form or report. The ability to trigger visual changes to a field based on a different field in the form or report is not immediately obvious when using the conditional formatting wizard.

Our programming team has 15 members containing a wide variety of technical database knowledge and programming experience. Experts in small business management and scientific database programming.

Did you know you don't need to move to SQL/Server to run and manage your Access database on the net. There are many alternative solutions. Among them are Amazon's AWS cloud services and various hosting services in nearly every state.

You need to select Expression when choosing the type of condition from the drop down list in the conditional format wizard.

In our downloadable Access database example we set two format on two different fields:

The 1st condition is set on the Barcode form field. Here we set  the barcode field to change to a red color when the Inv_Qty (inventory quantity) field falls below a threshold of 100.

The 2nd condition is on the Price field in the form.  Here we set the color of the price field to green when the price is above $10.

One word of caution about the conditional formats - if you change field names in the tables at some future date you may have difficulty finding the incorrect reference to the changed field name since the conditional format function does not create visual basic code for you to debug or review.  You'll need to recreate the conditional format once you find it.  In a large complicated form finding the offending reference could take a while.

Below is a snapshot of the form: Data Field Conditional Format

Here is the link to download the conditional formatting Microsoft Access example database.

Note that these conditional format methods can be fairly complex.  You can refer to other data fields in the recordset and perform calculations in order to set the conditional properties.

We have also come up with a method to shade an entire line of data on a continuous form by applying visible/not visible property to a colored text box that spans the entire records.  Perhaps you can think of additional tricks for using the conditional formatting capability of Access continuous forms.

A Blue Claw Software Design Template:

Document Revision Control Application

A Blue Claw Database Design Article:

How To Create Faster Access Databases

Blue Claw Database Design Downloadable Tutorial:
Make Dependent Combo Box Code MS Access  Tutorial Download  

Here is a randomly selected programming tutorial:

Predicate Query

Microsoft Office:
MS Access 2003
Access 2007
Access 2010
Access 2013
Access 2016
Updated On 2/10/2018 3:06:01 AM

Contact Information

Copyright 2000-2018 Blue Claw Database Design

MS Access 2013, Access 2010 & Microsoft Office 2007