View Single Post
  #4  
Old November 11th, 2009, 11:47 AM posted to microsoft.public.access.forms
Jules.[_2_]
external usenet poster
 
Posts: 2
Default If duplicate value apply conditional format

thanks for your help. That worked.

"Tom van Stiphout" wrote:

On Tue, 10 Nov 2009 04:39:01 -0800, Jules.
wrote:

You could use an expression based on an extra, potentially invisible,
column in your query. This column would indicate duplicate or not.
Something like:
CustomerCount: count(CustomerID) from myTable group by CustomerID

-Tom.
Microsoft Access MVP


Hi

I'm really struggling with a project at the moment. The database I'm
working with has a concatenated Primary key of Registration Date and Customer
ID Number. It MUST stay this way. A customer can re-register with a
different request on a different date and when this occurs I need to
highlight (red or bold)the recurrence of the customer number on the
continuous form I'm using. I've looked at the conditional formatting behind
the Customer ID field but have no idea what expression to put in to highlight
duplicate values in it.

Any help would be greatly appreciated.

Thanks

.