I am very new to Access. I have created a very simple form and subform just to learn how to use VBA. I have created two test databases. One called Employee and the other called Employee Sales. I link the two databases using the empid field. I set up a relationship using the empid for both databases. They have a one to many relationship. I enforce referential integrity. Check "cascade update related fields" and "cascade delete related fields."
I created my main form and a subform. I can add records and update records just fine, however when I try to delete a record from the main form (cursor is on main form's control) I get the following error:
The table "Employee Sales" is already opened exclusively
by another user, or it is already opened through the user
interface and cannot be manipulated programmatically.
Any ideas as to what I am doing wrong?
I created my main form and a subform. I can add records and update records just fine, however when I try to delete a record from the main form (cursor is on main form's control) I get the following error:
The table "Employee Sales" is already opened exclusively
by another user, or it is already opened through the user
interface and cannot be manipulated programmatically.
Any ideas as to what I am doing wrong?