The criteria of field in the query can be linked to that field in the form. The form that linked must be opened in order to have the query works. For instance, we need a query to show a record of the customer that shows in the Customer form, the criteria in the Customer_id will be “ [Forms]! [Customer]!
For More Information Please Refer: