Katherine,
Ok, then I don't see why this won't work...
DCount("*","Employees","[Waterfront Number]=" & [Waterfront Number])>0
The Condition should be on the same line in the macro design as the
Action. I think it should be >0 because at the point where it is being
evaluated, the one that you are currently entering (new record) will not
be saved yet to the table, so won't be counted. So your condition is
really asking "are there already any in the table with this Waterfront
Number?"
--
Steve Schapel, Microsoft Access MVP
Your right things are coming back to me now. Ok it is a form and the control
name is Waterfront Number. The field in the table that the data is coming
from is a number field though I don't think that it should be because it is
not a number that will be calculated but i'm sure you know better than I on
that (if it makes a difference). Oh yeah, I actually copied yours into my
condition section of the Macro, then I filled in the name of the table and
the control name. Now the problem may be the way that I'm setting it up.
Should the condition and the action be on the same line or different lines
and since I want the message to appear after the number is entered the second
time should it be >0 or >1.
Thank you a bunch again.