I need help to solve this problem.
I have two tables, Main table (tblProdDataLog) and linked table (tblProdDetails) with one to many relationship.
I have a main form called frmProdLog and the subform on it called subfrmProdDetails. The both forms are linked on child-master field "DataLogNo". The subform gets its data from qryBottleDetails.
The Main form has production date in addition to other fields and the subform's fields are related to the production data for this field.
My main problem is that even if there is no data on the subform, one I enter any information on the main form, I can't delete it through the Delete button on the main form or from the delete button on the menu bar. It gives me an error "The table 'tblProdDetails' is already opened exclusively by another user, or it is open through the user interface and cannot be manipulated programmticaly."
Any help is appreciated.
Thanks in advance.
PS: I have no problem deleting the data from the table tblProdDataLog.
I have two tables, Main table (tblProdDataLog) and linked table (tblProdDetails) with one to many relationship.
I have a main form called frmProdLog and the subform on it called subfrmProdDetails. The both forms are linked on child-master field "DataLogNo". The subform gets its data from qryBottleDetails.
The Main form has production date in addition to other fields and the subform's fields are related to the production data for this field.
My main problem is that even if there is no data on the subform, one I enter any information on the main form, I can't delete it through the Delete button on the main form or from the delete button on the menu bar. It gives me an error "The table 'tblProdDetails' is already opened exclusively by another user, or it is open through the user interface and cannot be manipulated programmticaly."
Any help is appreciated.
Thanks in advance.
PS: I have no problem deleting the data from the table tblProdDataLog.