Can not delete record in dialog form

  • Thread starter Thread starter Vensia
  • Start date Start date
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.
 
Back
Top