Article ID: 102527
Article Last Modified on 1/18/2007
MacroName Condition Action
----------------------------------------------------------------
IsItDup DCount("[CustomerId]","Customers", _ MsgBox
"[CustomerId]=Forms![Customers]! _
[CustomerId]")<>0
... CancelEvent
IsItDup Actions
---------------------------------
MsgBox
Message: Duplicate Customer ID
CancelEvent
Text Box: CustomerID
BeforeUpdate: IsItDup
Additional query words: count before update
Keywords: kbhowto kbusage KB102527