Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

recordset not updateable with Access query to linked Sql Server table

Posted on 2013-10-28
3
Medium Priority
?
464 Views
Last Modified: 2013-10-30
I'm getting the error "Recordset not updateable"

dbo_Part_Serial_Number is a Sql Server table

My query in Access:
SELECT dbo_Part_Serial_Number.ID, dbo_Part_Serial_Number.Part_No, dbo_Part_Serial_Number.Serial_No, dbo_Part_Serial_Number.Label_Date, dbo_Part_Serial_Number.PCBoard_Lot_No1, dbo_Part_Serial_Number.PCBoard_Lot_No2, dbo_Part_Serial_Number.PCBoard_Lot_No3, dbo_Part_Serial_Number.PCBoard_Lot_No4, dbo_Part_Serial_Number.PCBoard_Lot_No5, dbo_Part_Serial_Number.Transformer_Lot_No1, dbo_Part_Serial_Number.Transformer_Lot_No2, dbo_Part_Serial_Number.Transformer_Lot_No3, dbo_Part_Serial_Number.Transformer_Lot_No4, dbo_Part_Serial_Number.Multiplier_Lot_No1
FROM dbo_Part_Serial_Number
WHERE (((Left([Part_No],1))="P"))
ORDER BY dbo_Part_Serial_Number.Label_Date DESC;

Teach me more experts!
Thanks,
Brooks
0
Comment
Question by:gbnorton
3 Comments
 
LVL 37

Accepted Solution

by:
momi_sabag earned 1400 total points
ID: 39606576
does the table has a primary key?
it needs to have one for access to be able to update
0
 
LVL 93

Assisted Solution

by:Patrick Matthews
Patrick Matthews earned 600 total points
ID: 39608240
Expanding on momi_sabag's comment, when you linked the SQL Server table to Access, the Access linked table wizard would have asked you what the primary key is for that table.  If you do not supply that, then Access will not be able to write updates to the SQL Server table.
0
 

Author Closing Comment

by:gbnorton
ID: 39612005
It did not.  Added primary key to original Access table and re 'upsized' to sql server.  All good now.  Thank you!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question