Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add new Record using Data access page

Status
Not open for further replies.

brent123

MIS
Mar 21, 2006
29
US
I'm trying to create a data access page that will allow me to add a record. I've added a button that has the add new record operation, but when I click on the button I get an error saying that I can't add a new record because the recordset is read only. In the group properties level I have allow addition equal to true. Are there any other setting I need to set. Why can't I add a record?
 
If your DAP is based on a table, you must place the PRIMARY KEY on the DAP. If it's based on a query, make sure your query is updatable (again, supply all the primary keys of the tables involved).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top