Solved

Updating Sharepoint From Access

Posted on 2011-09-17
2
416 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
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

839 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