A family of Microsoft relational database management systems designed for ease of use.
The DLookup function without any criterion will always return a value from the first row in the query's sort order, so comparing it with the selected item, as you have done, will return False for all but one selection in the combo box. Study my solution again:
1. The DLookup function's domain should, in your case be exactly the same query as the combo box's RowSource. If this is an SQL statement save it as a query and reference it by name in the expression.
2. For the expression to return True, and the conditional formatting to be applied, the DLookup function should return a Null, i.e. there should be no match to its criterion. The IsNull function is used to determine if it returns Null.
3. The criterion for the DLookup function should be that a value in the Column which returns the control's list is equal to the value of the control, [cboCity] in my example. If a match is found the function will return that value, and consequently a Null will not be returned. The IsNull function will thus return False, and the conditional formatting will not be applied.