Current location - Training Enrollment Network - Books and materials - The purchase of books in access database leads to the change of inventory quantity. How to program this?
The purchase of books in access database leads to the change of inventory quantity. How to program this?
AddNew should be. AddNew。

AddNew is a method of recordset, so curRS. AddNew is required.

Without this, AddNew is considered a function, and you have not defined it. Of course, this is wrong.

....

Can you comment after the comment, so that I can look relaxed, otherwise I don't know what you should do.

The new error should be a SQL syntax error, and the from should be followed by the table name. What is the name of that table in your database? Change it to the table name.