robyholmes
Registered User.
- Local time
- Today, 13:54
- Joined
- Mar 2, 2009
- Messages
- 57
Hi
I would like to delete a record currently open in a form (With a filter on the current record if that matters)
I have used this code:
But I get 'Command or action not available now'? Can you explain why?
Thanks
Rob Holmes
I would like to delete a record currently open in a form (With a filter on the current record if that matters)
I have used this code:
Code:
If InputBox("Type 'Delete' to delete the customer", "Delete Customer") = "Delete" Then
DoCmd.RunCommand acCmdDeleteRecord
End If
But I get 'Command or action not available now'? Can you explain why?
Thanks
Rob Holmes