filtering report based on subform control

T

TXlilbit

Hi all - would be grateful for help with the following:

I have a view report button on a subform. I'm trying to set the filter
criteria either on the report or in the query for the report, to show only
the record currently displayed on the subform. I've put the criteria in the
query as Forms!SubFormName!ControlName but when I click on the button I keep
getting a pop-up window asking for the value of the control field. What's
going on? Is there some trick to working with subforms?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top