Hi Thanks for all your efforts, I have solved my problem; here it is -
sql_str = "SELECT c_teams_members.public_id, c_users.account_name, c_users.public_id " & _
"FROM c_teams_members INNER JOIN c_users ON " & _
"(c_teams_members.team_pid = c_users.lw_tpa_override_RA_team) AND " & _
"(c_teams_members.team_pid = c_users.map_response_team) AND " & _
"(c_teams_members.team_pid = c_users.lw_post_record_alert_amber) AND " & _
"(c_teams_members.team_pid = c_users.lw_pre_record_alert_amber) AND " & _
"(c_teams_members.team_pid = c_users.lw_post_record_alert_red) AND " & _
"(c_teams_members.team_pid = c_users.lw_pre_record_alert_red) " & _
"WHERE (((c_teams_members.public_id)='" & lwProfile.public_id & "'))"
wProfile.public_id in this case would be 'JMUR'
I don't know what to with a question that I solved, you can have the points if you like, but I cannot accept your solution. Is this fair or maybe you can advice me on the most appropriate action....