Solved

Updating Sharepoint From Access

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SharePoint 2013 6 27
SharePoint 2013 Searchbox Branding 11 46
Run Time Error 3071 26 41
How can I create a table in a linked database, in VB? 7 17
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of utilizing SQL Server views 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 Microsoft Access…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

863 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

23 Experts available now in Live!

Get 1:1 Help Now