Solved

Updating Sharepoint From Access

Posted on 2011-09-17
2
389 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
2 Comments
 
LVL 9

Accepted Solution

by:
SharePointGirl earned 500 total points
Comment Utility
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
Comment Utility
Not happy with the answer but neverless I have an answer.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now