Error 2046 : the command or action 'DeleteRecord isn't available

odrap

Registered User.
Local time
Today, 14:52
Joined
Dec 16, 2008
Messages
156
When i try to delete a record on the form frmOrders who do not have any related record in tblorderdetails ( subfrmorders is empty) by mean of a
DoCmd. Runcommand acCmddeleteRecord,
sometimes, but not always, it generates Error 2046: "The command or action 'DeleteRecord' isn't available now".
I used a DoCmd.runSql before but that didn(t work at all.
i used the same code in the sam program written in MS access 2.0 and there no problem occured.
Now that i have updated the program, a lot of problem occur that i didn't had with Access 2.0
 
What version of Access are you now using and under what Operating System?
 
i'm using ms access 2007 ans as operating system Vista (home edition)
 
I would start by making sure you have applied the Office 2007 SP1 and then the HotFix as well.
 

Users who are viewing this thread

Back
Top Bottom