There was a problem opening the record set:
The connection cannot be used to perform this operation. It is either closed or invalid in this context.

(SELECT Artist.ArtistID AS AID FROM Artist WHERE Artist.ArtistID = 2566) UNION (SELECT xxArtistArtist.ArtistID AS AID FROM xxArtistArtist WHERE xxArtistArtist.RelatedArtistID = 2566 AND xxArtistArtist.SameAs = True) UNION (SELECT xxArtistArtist.RelatedArtistID AS AID FROM xxArtistArtist WHERE xxArtistArtist.ArtistID = 2566 AND xxArtistArtist.SameAs = True)