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
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