Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

subform delete using record selector raise event?

Status
Not open for further replies.

Tarnish

Technical User
Nov 13, 2006
221
US
Hi all,

Does deleting a record by clicking on a record selector and hitting 'delete' on the keyboard raise any events? I tried the 'on delete' event of the subform the record is in and it didn't seem to work.

Thanks,
T
 
Mate,

On delete should work. Question biggy: Does an access warning box pop up saying "You're about to delete a record..."?

If not you've prolly got some error checking going on, or you've turned of the warning events. Try the on delete even in a new blank form in a new blank database just to see if it works. i'm sure it will so you then need to track back and find ut why it's being stopped in your app

Start the app with shift held down and open the form direcly - if it still gives no trigger or warnings youve narowed it down to that form. if it does then it's app-wide or on start up

Take it easy, JB

 
Hi JBin,

Thanks a lot for the reply.

I'm an idiot. I should have tried the on delete confirm before posting but I didn't. I'm not sure why the on delete didn't work, but the confirm one works perfectly.

Thanks again and sorry about that...

T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top