I have a form on which I have a header and a detail section, the default view is set to Continuous Forms and the Data Soruce is set to a Query.

In my detail section I have some fields from the query, so that I get to see all entries of the query in the form.

In my header I have three fields, Date, Action and User.

How can I use the contents of these fields to limit the results shown.

i.e. The query is filtered on the relevant fields.