Conditional formatting 2007

Egg 'n' Bacon
5StarLounger
Posts: 736
Joined: 18 Mar 2010, 11:05

Conditional formatting 2007

Post by Egg 'n' Bacon »

I'm looking for the correct syntax to colour a field (on a form) based on another field being blank or null, and failing :sad:

Any ideas would be very much appreciated.

TIA

User avatar
HansV
Administrator
Posts: 78488
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Conditional formatting 2007

Post by HansV »

Select "Expression Is" from the first dropdown in Condition 1.
Enter an expression like this:

[OtherField] Is Null

where OtherField is the name of the field that should be blank.
Apply the formatting that you want, then click OK.
Best wishes,
Hans

Egg 'n' Bacon
5StarLounger
Posts: 736
Joined: 18 Mar 2010, 11:05

Re: Conditional formatting 2007

Post by Egg 'n' Bacon »

Cheers Hans :cheers: