Not sure from your post exactly what you're after, but it sounds like you want a text control on a form that also has a button on which generates the report based on whatever criteria the user has typed into the text control?
If so, add the text control, give it a meaningful name, then in the...