Report Queries

ShannonC

New Member
Joined
Mar 1, 2005
Messages
9
Is there a way to have a box pop up when you click on a report and enter in parameters? I created huge reports with all the information for several different subcontractors and I want the attorney to be able to click on the report and enter in the subcontractor's name and only the information linked to that subcontract to show up on the report.

Normally I create one report and copy and past the same report over and over again and link it to the different queries, but this is a large case and it would take forever to do that.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi
Assuming your report is based on a query (if it isn't then it should be) then under the [contractor] or [contractor id] field enter something like this in the criteria :
=[Enter the contractor id / name]
but please be aware that the person using the database will need to enter the exact id or name to get any results in the report - if a word is mis-spelled it is likely the report will return nothing. There are ways around this problem and if it is an issue then post back with a reply.
HTH, Andrew. :)
 
Upvote 0
Try this in the criteria:

Like "'*" & [Enter the contractor id/name] & "*'"
 
Upvote 0

Forum statistics

Threads
1,221,860
Messages
6,162,479
Members
451,769
Latest member
adyapratama

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top