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

How different than Access 2002?

Status
Not open for further replies.

ericchajmovic

Programmer
May 15, 2002
11
US
Hello,

I just upsized a database created in Access 2002 to SQL Server 2000. When I press on the Next key on one of my forms with the code "DoCmd.GoToRecord , , acNext" and try and enter a new record, I get the message that the record is not updatable. It was in Access. What do I have to fix to get this working?

Thanks,

Eric Chajmovic
 
More importantly, you must have a unique field of some kind in the table, either a primary key, a unique constraint, an Identity field or a GUID.
 
Actually, you must have a primary key. Not even an identity will let you update whilst using an Access Project.
 
You don't necessarily need a primary key though it is good practice to define primary keys on tables. You do need a unique column. That can be a primary key, timestamp column, uniqueidentifier column, or any other column with a unique constraint on it. Terry L. Broadbent - DBA
SQL Server Page:
If you want to get the best answer for your question read faq183-874.
 
Terry,

What I was saying is that an Access Project -- Not neccesarilly an Access .mdb with linked tables has problems w/o a primary key. I've seen this in .adp files.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top