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
Sharepoint Delete Issue
-
- Administrator
- Posts: 78794
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Sharepoint Delete Issue
Have you tried refreshing the link, or even deleting it and creating it again?
Best wishes,
Hans
Hans
-
- BronzeLounger
- Posts: 1496
- Joined: 05 Feb 2010, 22:25
Re: Sharepoint Delete Issue
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
No I haven't since I can open it from Access and can edit the data. Will give that a try.
Thanks!
Leesha
-
- BronzeLounger
- Posts: 1496
- Joined: 05 Feb 2010, 22:25
Re: Sharepoint Delete Issue
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
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
-
- Administrator
- Posts: 78794
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- 2StarLounger
- Posts: 124
- Joined: 22 Feb 2022, 09:04
Re: Sharepoint Delete Issue
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.
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.
-
- BronzeLounger
- Posts: 1496
- Joined: 05 Feb 2010, 22:25
Re: Sharepoint Delete Issue
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.
-
- 2StarLounger
- Posts: 124
- Joined: 22 Feb 2022, 09:04
Re: Sharepoint Delete Issue
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.
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.
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.
-
- BronzeLounger
- Posts: 1496
- Joined: 05 Feb 2010, 22:25
Re: Sharepoint Delete Issue
Thanks everyone!
-
- NewLounger
- Posts: 5
- Joined: 13 Jun 2024, 12:24
Re: Sharepoint Delete Issue
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?
What else might have changed? Have you asked the SharePoint admin for your organization for assistance?
-
- BronzeLounger
- Posts: 1496
- Joined: 05 Feb 2010, 22:25
Re: Sharepoint Delete Issue
It did end up being a permission issue. Once permission was re-granted on the new computer the issue tesolved.
-
- Administrator
- Posts: 78794
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands