Forum Discussion
Tony2021
Apr 26, 2026Steel Contributor
Bold Duplicates (Conditional Formatting)
Hello experts
I have a form based on qryLCAmends
I want to bold the [LCNo] if there is a duplicate but ONLY where LCID = LCID
here is what I have but it doesnt bold anything:
DCount("*","qryLCAmends","[LCID]=" & [LCID] & "[LCNo]='" & [LCNo] & "'")>1
LCNo is text.
I am using the "expression" in conditional formatting:
Example:
How can I do this with conditional formatting?
3 Replies
- XPS35Iron Contributor
It works for me:
- XPS35Iron Contributor
Try:
DCount("*","qryLCAmends","[LCID]=" & [LCID] & " AND [LCNo]='" & [LCNo] & "'")>1- Tony2021Steel Contributor
hello...thank you for the response.
I see where the edit is
However it seems to bold all records.
would you happen to know what the issue could be?
I was thinking adding a paren on the 2nd criteria?