You can either use IN:
Code:
SELECT * FROM tblPatientVisits
WHERE MRNumber IN
(SELECT DISTINCT MRNumber
FROM tblReleases
WHERE LastName LIKE '%R')
If you've tried that and it doewsn't work what sort of record is brought back that fails the criterion?
Or I think a better way is to use a join:
Code:
SELECT PV.*
FROM
tblReleases R INNER JOIN tblPatientVisits PV
ON R.MRNumber = PV.MRNumber
WHERE R.LastName LIKE 'R%'
--
Joe