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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why isn't recordset updatable? 2

Status
Not open for further replies.

grnzbra

Programmer
Mar 12, 2002
1,273
US
I have a simple SQL Server 2000 database. I created an Access XP project linked to existing database. Used the form wizard to create a form referencing one of the tables. When the wizard was finished, the form was blank, although the design view showed the appropriate text boxes. When I went back to SQL Server and entered one record directly int the table and then went back to the form, the fields showed the record. When I went to change one of the fields, I got a message that the recordset wasn't updatabale. Any suggestions why?
 
There could be several reasons why.

Primarily you will want to check out the 'Unique Table' property of the form.

other things to check are the usual 'allow additions', edits,deletions properties toooo

;-)
 
Make sure you have a primary key defined on the SQL Server table so Access can uniquely identify each row.
 
Make sure you defined primary keys. Without key the recordset cannot be updated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top