I'm trying to take information a user enters into a form and insert it into a table as a new record. This is what I'm trying but I get a error, "The database engine could not lock table "tempPartId" because it is in use by another person or process. This is my code...
INSERT INTO inventory ( [date], [user], partId, taken )
VALUES (([Forms]![Taken]![Date]), ([Forms]![Taken]![Combo3]), ([Forms]![Taken]![Combo11]), ([Forms]![Taken]![Text14]));
The, "([Forms]![Taken]![Combo11]" gets it's value from a Table called, "tempPartId". The values for the table are created everytime a user runs the query before they submit this form. I tried using a close macro to close it but I still get this error. HELP!