One Combobox based another combobox filter (1 Viewer)

ZKHADI

Member
Local time
Today, 18:04
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: 86

June7

AWF VIP
Local time
Today, 05:04
Joined
Mar 9, 2014
Messages
5,475
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.
 

CJ_London

Super Moderator
Staff member
Local time
Today, 14:04
Joined
Feb 19, 2013
Messages
16,619
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
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 21:04
Joined
May 7, 2009
Messages
19,248
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.
 

CJ_London

Super Moderator
Staff member
Local time
Today, 14:04
Joined
Feb 19, 2013
Messages
16,619
I’ll take a look when I get back to my desk
 

Users who are viewing this thread

Top Bottom