delete

R

Rad

Hi,
I Have a form which displays images of a person. Each person has a code
number. I used the following coding, when I click the button to delete the
record. But it does not delete the records in the tables. It deletes only
the form record. Can anyone explain how to modify it? I store the image path
name in the tables.

Private Sub delete_Click()

DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70

End Sub

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Duplicate subForm Info 0
Error 2237 8
add one to a duplicated record that checks to see if one exists 0
Copy Record Date Won't Copy 0
vba coding 4
new form 1
"Delete Record" command button woes 4
Command Find 1

Top