Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT
Dim db As DAO.Database Dim rstFind As DAO.Recordset Dim strSQL As String Dim response As Integer If KeyAscii = 13 Then Set db = CurrentDb Set rstFind = db.OpenRecordset("Twins_Detail", dbOpenDynaset) strSQL = Me.Text0 rstFind.Index = "Key" rstFind.Seek "=", strSQL If rstFind.NoMatch = True Then response = MsgBox("There is no record with that serial number", vbCritical, "ERROR") Set rstFind = Nothing Set db = Nothing Exit Sub End If Set rstFind = Nothing
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.