Stoic,
When you build your query, in the criteria section of the query builder, right click, then select "Build..." and you should be able to set as your criteria one of the text boxes on your form. This way, the query will only select the records that meet that criteria. Then, use this query as the record source for your report.
Could you show us what you have so far? It's impossible for us to "build" that for you without your database, and most of us have jobs, too! ;-)
If you show us what your are working on and then describe in detail what "doesn't work" we can move forward from there.
Thanks...