Sharepoint Delete Issue

Leesha
BronzeLounger
Posts: 1496
Joined: 05 Feb 2010, 22:25

Sharepoint Delete Issue

Post by Leesha »

Hi,
I have an Access database that is linked to a Sharepoint list/table. It is set to delete data and append new data each day. This has been working fine for quite a while. Recently the database was moved to a different location. Ever since that time, the database blows up when the delete query is run. I am able to manually access the data in the linked Sharepoint file and can manually edit it. The file contains 3171 records which is roughly the size it's always been. I've compacted and repaired the DB but still have the same result. I'm not sure what is causing it to blow up every time the delete query is run. This is what I'm using:

DELETE tblContactInfoSharepoint.*
FROM tblContactInfoSharepoint;

Thanks,
Leesha

User avatar
HansV
Administrator
Posts: 78794
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Sharepoint Delete Issue

Post by HansV »

Have you tried refreshing the link, or even deleting it and creating it again?
Best wishes,
Hans

Leesha
BronzeLounger
Posts: 1496
Joined: 05 Feb 2010, 22:25

Re: Sharepoint Delete Issue

Post by Leesha »

Hi Hans,
No I haven't since I can open it from Access and can edit the data. Will give that a try.
Thanks!
Leesha

Leesha
BronzeLounger
Posts: 1496
Joined: 05 Feb 2010, 22:25

Re: Sharepoint Delete Issue

Post by Leesha »

Hi Hans,
Unfortunately refreshing and recreating didn't fix the issue. I'm wondering if it is a permissions issue. I did not set up the Sharepoint list, and am only marginally familiar with Sharepoint.
Leesha

User avatar
HansV
Administrator
Posts: 78794
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Sharepoint Delete Issue

Post by HansV »

I'm sorry, I'm not familiar with SharePoint at all.
Best wishes,
Hans

User avatar
Gasman
2StarLounger
Posts: 124
Joined: 22 Feb 2022, 09:04

Re: Sharepoint Delete Issue

Post by Gasman »

Can you delete a record manually?
Using Access 2007/2019.
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
Please, please use code tags when posting code snippets, click the </>icon.
Debug.Print is your lifesaver.

Leesha
BronzeLounger
Posts: 1496
Joined: 05 Feb 2010, 22:25

Re: Sharepoint Delete Issue

Post by Leesha »

I've tried manually and am unable to delete. I can open the list, can change the data, but when I tab off of the change, the database blows up.It only appears that the data is being changed.

User avatar
Gasman
2StarLounger
Posts: 124
Joined: 22 Feb 2022, 09:04

Re: Sharepoint Delete Issue

Post by Gasman »

So it might be a permissions issue?
I have never used Sharepoint, so I cannot help with that sorry, but your fault lies with unable to delete, not your query.
Using Access 2007/2019.
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
Please, please use code tags when posting code snippets, click the </>icon.
Debug.Print is your lifesaver.

Leesha
BronzeLounger
Posts: 1496
Joined: 05 Feb 2010, 22:25

Re: Sharepoint Delete Issue

Post by Leesha »

Thanks everyone!

George Hepworth
NewLounger
Posts: 5
Joined: 13 Jun 2024, 12:24

Re: Sharepoint Delete Issue

Post by George Hepworth »

That sounds to me like a permissions problem, especially since "Recently the database was moved to a different location. "

What else might have changed? Have you asked the SharePoint admin for your organization for assistance?

Leesha
BronzeLounger
Posts: 1496
Joined: 05 Feb 2010, 22:25

Re: Sharepoint Delete Issue

Post by Leesha »

It did end up being a permission issue. Once permission was re-granted on the new computer the issue tesolved.

User avatar
HansV
Administrator
Posts: 78794
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Sharepoint Delete Issue

Post by HansV »

Good to hear that!
Best wishes,
Hans