If you open your query by itself, you'll probably find that you can't edit it either.
You will have to do this in a form with a subform. Depending on your preference, you can create a form displaying contacts, with the visits of that contact in a subform, or a form displaying visits, with the contacts associated with that visit in a subform. Of course, you can create both if you like.



