The command button I have for deleting a record is not working. It runs a few queries to move data to another table, delete the data from the linked tables, and then runs the code to delete that record, however that bit isn't running.
When i use the following code it simply does nothing
But when i use the following code, it gives me an error saying "The delete record command is not available"
thanks for help in advanced
When i use the following code it simply does nothing
Code:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
But when i use the following code, it gives me an error saying "The delete record command is not available"
Code:
DoCmd.RunCommand acCmdDeleteRecord
thanks for help in advanced
