Share via

Two Combo Boxes to Produce a Filtered Subform Datasheet

Patrick Snyder 5 Reputation points
2025-12-22T20:27:13.5933333+00:00

I have a form that has a subform. The subform has a datasheet on it. There's a Combo box that filters the datasheet, on the subform.

How do I create more than one combo box that allows the user to filter the datasheet by more than one field?

Example: my table has many fields; two of the fields are labeled color and size. Right now, my combo box filters by color but I also want to filter by size. So, I want my form to have two different combo boxes to help filter the datasheet.

It would be nice that the user can filter by color or size or by color than by size.

How can I do this?

Microsoft 365 and Office | Access | Other | Windows
0 comments No comments

7 answers

Sort by: Most helpful
  1. Patrick Snyder 5 Reputation points
    2026-01-20T16:44:01.0466667+00:00

    Dora, I've narrow it down to something within the second combo box row source:

    User's image

    I've removed it and changed it back to what it was and error goes away. Below is snippet of what I have, it just doesn't seem to like it.

    User's image

    Was this answer helpful?

    0 comments No comments

  2. Patrick Snyder 5 Reputation points
    2026-01-20T15:50:18.9033333+00:00

    I tried it but something is not working correctly, I get an error when I click on the second combo box. The first combo box works fine. I've closed everything and just start by clicking the second combo box and I get the same error. I'm checking the spelling of everything but I can't find what is wrong.

    User's image

    I thought there was something that I copied wrong so I started over and. I delete the combo box again and re-adding it. Changed the name from Combo13 to Combo10 and I get this error message.

    User's image

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.