sao em xoa no xoa nhung ngay dong xoa no coi hang chu delete nhu the nay ne, may bac giup dum em
http://www.mediafire.com/view/5dpekd9cju...itled2.png[/img]
code xoa cua em nhu the nay ne:
[/php] Private Sub xoa_Click()
If MsgBox("ban co thuc su muon xoa mau tin nay khong", vbYesNo + vbQuestion, " thong bao") = vbYes Then
DoCmd.SetWarnings False
DoCmd.RunCommand acCmdDeleteRecord
DoCmd.GoToRecord , , acLast
xoa.SetFocus
End If
End Sub