To trigger the dialogue box when the query is run, you must insert a particular criterion in the columns of the fields concerned.