|
Private Sub 0_Click() Dim dbs As Database Dim rst As DAO.Recordset Dim str_ As String Set dbs = CurrentDb() Set rst = dbs.OpenRecordset _ ("", dbOpenTable) rst.Index = "Index" str_ = InputBox(" ", _ " ") rst.Seek "=", str_ If rst.NoMatch Then MsgBox " !" Exit Sub End If ?????????????????? Exit Sub End Sub