Delete records without use of docmd.domenu...

  • Thread starter Thread starter Rani VSPL via AccessMonster.com
  • Start date Start date
R

Rani VSPL via AccessMonster.com

Hi group
Is there a way to use delete command to delete the records other than
standard Docmd.domenuitem,acformbar, acmenubar..etc..
In my application I need to delete the records and update the inventory
with the no of items deleted only if the deletion is confirmed.
Can any one help me out.

Thanks
 
I am not sure what you are trying to describe in the second sentence but
there are a few alternatives:

* If you want to delete the CurrentRecord on the Form, you can use:

DoCmd.RunCommand acCmdDeleteRecord

* You can, of course, use code (RunSQL / OpenQuery / Execute) to run a
Delete SQL / Query.
 

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

Back
Top