Results 1 to 6 of 6
  1. #1
    BRASILO is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Aug 2017
    Posts
    77

    Question Access ERROR!

    Does anyone know how to turn off the Record is deleted. error? I've used all the error trapping. However, I think this is an API. Anyone know how to suppress it? This only happens to linked tables in SharePoint10 and not on stand alone DBs.


    Click image for larger version. 

Name:	ERROR.PNG 
Views:	15 
Size:	25.8 KB 
ID:	34436

  2. #2
    Gicu's Avatar
    Gicu is offline VIP
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,115
    Do your Sharepoint lists all have primary keys defined? Have you tried to compact and repair?
    There are some other posts regarding this, try to search for access + SharePoint + record is deleted:
    https://access-programmers.co.uk/for...d.php?t=243864

    Cheers,
    Vlad

  3. #3
    BRASILO is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Aug 2017
    Posts
    77
    Quote Originally Posted by Gicu View Post
    Do your Sharepoint lists all have primary keys defined? Have you tried to compact and repair?
    There are some other posts regarding this, try to search for access + SharePoint + record is deleted:
    https://access-programmers.co.uk/for...d.php?t=243864

    Cheers,
    Vlad
    Vlad, thanks for the suggestions. All my lists do have primary keys. That's why I find it odd. All was well and than it started give me that message. None of my records are deleted or show deleted. It's when I use a form to update the information on a table that it gives me this message. Very strange.

  4. #4
    Gicu's Avatar
    Gicu is offline VIP
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,115
    Can you update the table (list) directly? Does your form and its recordsource contain the primary key field?

    Cheers,
    Vlad

  5. #5
    BRASILO is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Aug 2017
    Posts
    77
    Quote Originally Posted by Gicu View Post
    Can you update the table (list) directly? Does your form and its recordsource contain the primary key field?

    Cheers,
    Vlad
    I can update the tables/list directly and no errors or issues. Also, I can pull the records with no issues. Once I use a form to edit the record than I get that error. It's very strange.

  6. #6
    BRASILO is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Aug 2017
    Posts
    77
    Quote Originally Posted by Gicu View Post
    Can you update the table (list) directly? Does your form and its recordsource contain the primary key field?

    Cheers,
    Vlad
    I found a work around. Although it would be great to find some code to turn off that ERROR! API. It was really annoying. I ended up using a Currentdb.execute SQL to piggy back on the ID twice to make sure that the form only took that one ID.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 07-26-2016, 06:34 AM
  2. Replies: 3
    Last Post: 05-12-2016, 07:06 PM
  3. Replies: 6
    Last Post: 03-17-2016, 02:10 PM
  4. Replies: 3
    Last Post: 02-26-2016, 12:34 PM
  5. Replies: 6
    Last Post: 09-28-2011, 09:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums