caro,
There are many ways to accomplish that.
One method is to go to the Company record you want to report
on, and run the report from there (leaving the form open). The open form
can provide the report query with the filtering value it needs. You should
use an unique value from your record... such as CompanyID.
You can use this criteria in the report's query... (ex.)
= Forms!YourMainFormName!CompanyID
Or... you can place this criteria in the CompanyID column of your
report query...
=[Enter Company ID]
When the rpeort runs, the query will ask you for a CompanyID.
Enter any legitimate ID, and the report will be filtered by that value.
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html
"Find a job that you love... and you'll never work a day in your life."
"caro" <caro.RemoveThis@discussions.microsoft.com> wrote in message
news:3B1DE130-B1AE-4EFC-AD2F-8B6185BD138C@microsoft.com...
>I have a report based off a form where many recommendations are listed for
> many different companies. Instead of opening the report and seeing all the
> recommendations for all companies, I want the user to be able to type in
> the
> company ID immediately and for the report to pull up only records for that
> company. I am sure there's an easy way to do this but have completely
> blanked
> here.
> Many thanks!