Oct 12 2020 11:36 AM
I have been unable to accomplish what I think is a simple task, so I'm throwing this to the experts....
One Access database syncs with three SharePoint lists that live in three different subsites within the same SPO root tenant site. The Access db also has a few additional tables that support the three main tables, like names, clients, etc. Each of the three main tables has a column for priority. I would like to have a view which shows in one place all the high priority items from all three of the lists. When I've tried to do this using one of the in-app wizards, I receive error messages that I do not even understand. Is it possible to do what I'm trying?
Oct 13 2020 07:25 AM - edited Oct 13 2020 07:26 AM
This will probably be slower, but it should work. Create a UNION query with three select clauses:
SELECT Field1, Field2, YourPriorityFieldGoesHere
FROM SHAREPOINTLIST1
WHERE
YourPriorityFieldGoesHere = "High"
UNION
SELECT Field1, Field2, YourPriorityFieldGoesHere
FROM SHAREPOINTLIST2
WHERE
YourPriorityFieldGoesHere = "High"
UNION
SELECT Field1, Field2, YourPriorityFieldGoesHere
FROM SHAREPOINTLIST3
WHERE
YourPriorityFieldGoesHere = "High"
Oct 19 2020 09:07 AM