Can not delete record in dialog form

V

Vensia

Dear all,

From a form, I open a modal form.
In the dialog form, I have a command button to delete record. The command is
like below :

DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdDelete

The above command doesn't work unless it is not opened in modal form.
How to delete record if I'm opening modal form ?
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

Top