One Combobox based another combobox filter

ZKHADI

Member
Local time
Today, 17:36
Joined
Apr 5, 2021
Messages
118
hey guys
i have one combobox in which I store faculty like Pre medical, pre engineering, computer sicne
another combobox have the related subjects of faculty.
i want to filter the combobox by selection of first combobox see in image.
but this not working may be code error.
if I select the pre medical then the another combobox only that subjects show.
 

Attachments

  • Untitled.png
    Untitled.png
    177.4 KB · Views: 126
Cascading combobox is a common topic.

Provide code as formatted text, not image. Certainly not using Me.Filter correctly.

If you want to provide db, follow instructions at bottom of my post.
 
In a continuous form you need to update the second combo rowsource when the combo gets or loses focus - see this link for an example
 
combo gets or loses focus - see this link for an example
that is Not working properly.
on 4th record, if you alternately click on Colour combobox then Product combobox repeatedly, there
will be a time when the Product combo will be Blanked out.
 

Users who are viewing this thread

Back
Top Bottom