Filter a Report Access 2003

A

AJOLSON

I am having a difficult time applying a filter to a Report. What I have is a
Report that's control source is a Query with several fields on the Report.
One of the fields is named JobFunction and that is the field I want to apply
the filter too.
What I would like is for the user to open a Report then from a drop down
list (Combo-box) select a the job function they want then the Report display
just those Job functions. Any help would be appreciated. Thanks
 
A

Allen Browne

You will need to use a form to do this.

Create a form with an unbound combo fo rselecting the JobFunction, and a
command button to open the report. The command button will use OpenReport,
with a WhereCondition that limits the report to just that one JobFunction.

Here's a basic example of a form that opens a report with a WhereCondition:
http://allenbrowne.com/casu-15.html
 
A

AJOLSON

Bingo Thanks

Allen Browne said:
You will need to use a form to do this.

Create a form with an unbound combo fo rselecting the JobFunction, and a
command button to open the report. The command button will use OpenReport,
with a WhereCondition that limits the report to just that one JobFunction.

Here's a basic example of a form that opens a report with a WhereCondition:
http://allenbrowne.com/casu-15.html
 

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