Hello everyone,
I use MS Visual Studio 2015 and MS Access 2016
I've already a database in Access 2016. I created a link to Visiual Studio.
I've one combobox on Form1. This combobox showed names. They all from a tabel (ID_Users, users)
It's filled like this:
1 - Jan
2 - Piet
3 - Ann
4 - Sara
Also I have two other tables. A cross tabel Users_Company (ID, ID_Users, ID_company) and a tabel Company (ID_Company, name)
The cross tabel is filled like this.
1 - 1 - 1
2 - 1 - 2
3 - 2 - 2
4 - 2 - 3
5 - 3 - 3
6 - 4 - 4
The company table is filled like this
1 - company 1
2 - company 2
3 - company 3
4 - company 4
When I make a chooice, I'll like to see a second combobox with the names of the companies of this user.
Thanks for help,
Frits van Leeuwen