Commod:
You and I have come into the same battle, but I have defeated this obstacle with a creativity. What I did was, set up tables for each of my Search Criterias. And when the SUBMIT button is hit on the search page, it will append the ID Numbers to each Criteria Table. My results page, Connects all of the Search Tables together, which will only produce the ID numbers of the company's that are in all of the criteria tables.
Example:
Tables:
SearchEmployees
SearchZip
SearchSales
Submit Button:
'E M P L O Y E E S I Z E
DoCmd.RunSQL "DELETE [SearchEmployee Size].ID FROM [SearchEmployee Size];"
If IsNull(Me![begin_employees]) = False And IsNull(Me![end_employees]) = False Then
DoCmd.RunSQL "INSERT INTO [SearchEmployee Size] ( ID )SELECT minority.ID FROM minority WHERE (((minority.Employees) Between [Forms]![Search]![begin_employees] And [Forms]![Search]![end_employees]));"
Else
'Append All Companies
DoCmd.RunSQL "INSERT INTO [SearchEmployee Size] ( ID ) SELECT Minority.ID FROM Minority;"
End If
'
'
'It appends all of the ID Numbers from my Minority table into the SearchEmployees Table if the controls on the Search page are Null or left blank.