Thanks, visakh16, that works great except for one small problem. If UserID 1 wrote a topic which received 2 replies, the topic shows up 2 times in the query. And if UserID 1 replied to another topic 2 times, the topic shows up 2 times.I made a few minor adjustments, but here is what I have so far:strSQL = "SELECT u.UserID, u.Username, t.ID, t.Message, t.UserID, t.Date, r.UserID, o.Username " & _"FROM Users u LEFT JOIN Topics t ON t.UserID = u.UserID LEFT JOIN Replies r ON r.TopicID = t.TopicID " & _"LEFT JOIN Users o ON r.UserID = o.UserID WHERE t.UserID IN (1,2) OR r.UserID IN (1,2) ORDER BY t.Date DESC"
What should I do to solve this? Thanks.