I was able to create a solution. Sorry for being unclear but I was unable to share the data, so it was hard to explain what I was working with. This is what I did:
Code:
'Create a subquery that does a count distinct with ID and month.
'The total sum per ID should be 1,2,3 or 4 depending on its unique occurrence
in either of the four months. This will tell me if an ID is in all four months at least once
(so i put a condition in this subquery for 4).
This acts as the "primary key query" for the master table to get
only those IDs 'and all the detail i need with it
SELECT P.[ID], tblMaster.[Detail Field here], tblMaster.[Detail Field here], tblMaster.Detail Field here, tblMaster.Detail Field here
FROM (SELECT Count(*) AS N, T.[ID]
FROM (SELECT DISTINCT [Month], [ID] FROM tblMaster) AS T
GROUP BY T.[Patient Number]
HAVING (((Count(*))=4))
) AS P INNER JOIN tblMaster ON P.[ID] = tblMaster.[ID]