how to make a multiple criteria search in access 2000

jlg5454

New Member
Joined
May 6, 2004
Messages
20
I need a form to be able to act just like the filter form page to search on multiple criterias and then to place the results in a subsheet at the bottom of the page. Does anyone know a quick and easy way to do this without using VB. Thanks for any help that you can provide.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Not entirely code-free, but almost!
Subform needs to be based on a query.
Set the criteria for the query to be UNBOUND textboxes on your UNBOUND main form. Search1, Search2, etc.
For each textbox that gets used as a search field, put this in the AfterUpdate event (ie, once the data is in the textbox and you move to another one or otherwise save the data) --
[MySubform].[Form].Requery

That shoudl refresh the data.

Denis
 
Upvote 0
What if the users will not be using all the criteria all the time? meaning, let's say I have 4 fields that can be searched on, but users can use any 1, 2, 3, or all 4 fields to search. Can I do this?
 
Upvote 0

Forum statistics

Threads
1,221,849
Messages
6,162,425
Members
451,765
Latest member
craigvan888

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