Export Access tables to SharePoint list

Anonymous
2022-04-04T14:13:39+00:00

I have built a database using Access which has several junction tables. When I try to export those tables to SharePoint, I get the following message (see below). The data types in all of my junction tables are 'Number' relating to the primary key of it's separate related table (see image below). Do I need to do anything differently to export these to SharePoint or is it not possible?

Microsoft 365 and Office | Access | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

13 answers

Sort by: Most helpful
  1. ScottGem 68,775 Reputation points Volunteer Moderator
    2022-04-04T16:31:55+00:00

    You have composite keys. Add an Autonumber PK to your junction tables and put a unique multi-field index on the combination of FKs. Then export.

    0 comments No comments
  2. George Hepworth 22,220 Reputation points Volunteer Moderator
    2022-04-04T23:19:45+00:00

    In addition to what Scott indicated, you should also be aware that SharePoint requires the use of Lookup fields to enforce referential integrity on related tables. I do not think they are created automatically when you export the tables to SharePoint lists unless you have already defined them in the Access table. This is the only time I would recommend using Lookup fields in tables in Access.

    0 comments No comments
  3. Anonymous
    2022-04-05T14:49:45+00:00

    Hoping that I understand you correctly as I've not done this before, is this what it should look like?

    0 comments No comments
  4. Anonymous
    2022-04-05T15:48:09+00:00

    In addition, I just noticed that when I export to SharePoint, multiple list of the same table are being created (e.g., Consumer, Consumer_1, Consumer_2, etc.). Should this happen or have I set things up incorrectly.

    0 comments No comments
  5. George Hepworth 22,220 Reputation points Volunteer Moderator
    2022-04-05T16:27:28+00:00

    Probably not. But we can't see how you exported the tables, unfortunately.

    Did you implement the Lookup Fields as suggested?

    0 comments No comments