[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Updating Sharepoint From Access

Posted on 2011-09-17
2
Medium Priority
?
443 Views
Last Modified: 2013-11-27
I have a Sharepoint list that track sales opportunities.  I linked the list to an Access 2010 database so that I could run validation checks against the data.  If my validation process finds an error I update the Sharepoint list with an error message.  A sharepoint workflow then runs to send an email message to the owner of the opportunity.  The next time the process runs if the error has been corrected I clear out the error message columns on the sharepoint list.  This is where I'm getting some very strange behavior.  The update sets three column values but in addition to those three columns all of my multiline text columns are cleared.

Has anyone seen something like this before?

Attachments:
Update query
Before/After images of data
Image of the list definition


UPDATE sales_opportunity_sp 
SET 
sales_opportunity_sp.[Message] = Null, 
sales_opportunity_sp.[Message Sent] = -1, 
sales_opportunity_sp.[Message Sent Count] = 0
WHERE sales_opportunity_sp.ID = 857;

Open in new window

list-definition.jpg
data-before-and-after.jpg
0
Comment
Question by:mre001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
SharePointGirl earned 2000 total points
ID: 36556043
This is an unsupported method of updating a SharePoint list. You can retrieve data this way but updating is not supported. SharePoint has data types person, choice that have no equivalent in access.

You should update the SharePoint list through the SharePoint access model.
0
 

Author Closing Comment

by:mre001
ID: 36583198
Not happy with the answer but neverless I have an answer.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

656 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