F
Ferri Weng
'This is sourcecode:
Private Sub Form_Delete(Cancel As Integer)
Cancel = 1
Dim rs As DAO.Recordset
Set rs = Me.Recordset
If Nz(rs("DF"), " ") <> "D" Then
rs.Edit
rs("DF") = "D"
rs.Update
Set rs = Nothing
Me.Requery 'Access2000:Runtime Error:3246
End If
End Sub
Private Sub Form_Delete(Cancel As Integer)
Cancel = 1
Dim rs As DAO.Recordset
Set rs = Me.Recordset
If Nz(rs("DF"), " ") <> "D" Then
rs.Edit
rs("DF") = "D"
rs.Update
Set rs = Nothing
Me.Requery 'Access2000:Runtime Error:3246
End If
End Sub