I'm not sure if this is the right place to ask my question.<br>I have a report based on a query. The query joins one of 4 "comment codes" in table with the actual comment from the comment table. I want it to choose which of the 4 comment codes to join with the comment table depending on a) a certain criteria AND/OR b) which one the user chooses.<br><br>Can I do this in VBA? How?