DeleteRecord command failing

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am executing:

DoCmd.RunCommand acCmdDeleteRecord

and getting message:

"The command or action DeleteRecord isn't available now"

What would cause this?
Thanks.
 
I am executing:

DoCmd.RunCommand acCmdDeleteRecord

and getting message:

"The command or action DeleteRecord isn't available now"

What would cause this?
Thanks.

Usually the record is unsaved, or the code is being called from a
popup form. A popup form can't access the menu.
 
Back
Top