cascading combo box (1 Viewer)

kobiashi

Registered User.
Local time
Today, 23:38
Joined
May 11, 2018
Messages
258
Hi all


I am struggling to understand how to achieve a cascading combo box.

i have three tables

Table_Roles
ID | role |

Table_Department
ID | department |

Table_Roles_Departments
Role_IDFK | Departments_IDFK

and I have created a many to many relationship

when i run the query it returns all the information as it should, but I'm stuck, what do to from here, how do i connect the two cascading combo boxes to the query
 

June7

AWF VIP
Local time
Today, 14:38
Joined
Mar 9, 2014
Messages
5,490
See if this helps http://datapigtechnologies.com/flashfiles/combobox2.html

That tutorial shows comboboxes saving text, not ID primary key. If you prefer to save the ID then that is a combobox with alias and won't work as nicely in continuous or datasheet forms but can be dealt with.

I also recommend code in the second combobox GotFocus event instead.

There are uncountable number of threads on this topic. Have you searched? Exactly what have you tried? What is the exact issue you encounter?
 

kobiashi

Registered User.
Local time
Today, 23:38
Joined
May 11, 2018
Messages
258
thank you

this helped
 

Users who are viewing this thread

Top Bottom