Private Sub _Click() Dim rs As DAO.Recordset Set rs = CurrentDb.OpenRecordset("") With rs .AddNew ! = Me. ! = Me. ! = Me. ! = Me. != Me. != Me. .Update End With DoCmd.Close Forms!!.Form.Requery Set rs = Nothing End Sub
http://www.sql.ru/forum/1153998/ustanovit-fokus