Create a form, using your Query as its RecordSource, and design it to display the data as you like. Then, in the code behind your Command Button, change the code from opening the Query to opening the Form.
Create a form, using your Query as its RecordSource, and design it to display the data as you like. Then, in the code behind your Command Button, change the code from opening the Query to opening the Form.