, 10 2015 . 20:48
+
Dim _ As DAO.Recordset
If IsNull(Me.) Or IsNull(Me._) Then Exit Sub
Set _ = CurrentDb.OpenRecordset("SELECT * FROM 1 " _
& "WHERE []='" & Me. & "' " _
& "and [ ]=" & Format(Me._, "\#mm\/dd\/yyyy\#"))
If Not _.EOF Then
Me.__ = _![ ]
Me._ = _(" ")
End If
_.Close
Set _ = Nothing
& "and [ ]=" & Format(Me._, "\#mm\/dd\/yyyy\#"))
http://www.sql.ru/forum/1184471/pomogite-s-kodom