I have two tables PMMS_Sites and PMMS_Site_Items. 1-N
(One site has many Items)
On page 1 I have a gallery Items = PMMS_Sites
On clicking an item in the galltery it takes you to page 2;
The second page should show a filtered list based on the selection of 'homeGallery'.
I cant quite work out how to filter the clearcollect for the second gallery.
This is what I have but incorrect
ClearCollect(col_PMMS_Site_Items, Filter(PMMS_Site_Items,PMMS_Sites=homeGallery.Selected.ID))

Can anyone help?