R
RedHeadedMonster via AccessMonster.com
I have the following code on the BeforeUpdate Event of a control:
If DCount("[ODUSerial]", "RAdioInfo", "[ODUSerial] =' " & Me.ODUSerial.Value
& "'") > 0 Then
MsgBox "This Serial Number " & Me.ODUSerial.Value _
& " has already been used!", vbExclamation, "Duplicate Serial #"
End If
I put in what I know to be a duplicate value, and NOTHING happens. What am I
not seeing?
RHM
If DCount("[ODUSerial]", "RAdioInfo", "[ODUSerial] =' " & Me.ODUSerial.Value
& "'") > 0 Then
MsgBox "This Serial Number " & Me.ODUSerial.Value _
& " has already been used!", vbExclamation, "Duplicate Serial #"
End If
I put in what I know to be a duplicate value, and NOTHING happens. What am I
not seeing?
RHM