Conditional Formatting not behaving as expected, from record to record

123seven

New member
Local time
Today, 02:06
Joined
Mar 6, 2011
Messages
4
In frmOrders, single form view, I'm trying to format the billAddress and shipAddress to be different colours in the rare instances that they are not the same. Using conditional formatting, I thought this would work: [BillingAddressID]<>[DeliveryAddressID] resulting in a red background, which it does, but it persists through all records, including the majority that are the same.

I added a 2nd rule: [DeliveryAddressID]=[BillingAddressID] resulting in no background colour change, but this didn't make any difference.

Looking forward to some wisdom and thanks for reading.
 
I would expect to work. I assume you used Expression Is? Can you attach a db here that demonstrates the problem?
 
Which control are you attaching the conditional format to? If you want to color both, you need to add the rule to each control. You also need to account for null. values if they are possible.
 
Continuous form? Unbound controls?
 

Users who are viewing this thread

Back
Top Bottom