troubleshooting Question

Using Access ODBC connection to update SQL database records when there is no key field

Avatar of Kerry Wilson
Kerry WilsonFlag for United States of America asked on
Microsoft AccessMicrosoft SQL ServerSQL
6 Comments2 Solutions673 ViewsLast Modified:
I have a SQL table in which I need to update selected records.  But, by design, there is no key field in this database and it would be difficult to establish a key field.  Since there is no key field I have noticed the Access table listing has table edits (changes and deletions) greyed out.  So, there is no way to issue an Update command.

However, I know it is possible to update or delete the record(s) because I can write and execute a query using the SQL Query Analyzer or the Enterprise Manager.  

So, my question is, is there some control or property I can set that will enable Access to update or delete records using an ODBC connection when there is no key field?

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros