G
GLW
I am working in access 97 and trying to compare a new
entry on a form to a record in an alternate table. I've
tried putting something like this in the afterupdate event
but it errors when it hits the 'In'. What's the right way
to do this?
If Me![EmpID] In("SELECT [EmpID] FROM Alt_Table") Then
msgbox "This record already exists in another table."
End If
entry on a form to a record in an alternate table. I've
tried putting something like this in the afterupdate event
but it errors when it hits the 'In'. What's the right way
to do this?
If Me![EmpID] In("SELECT [EmpID] FROM Alt_Table") Then
msgbox "This record already exists in another table."
End If