Hello,
I have a Form named "Ecran_PCP_form" and I have a combobox that is independent but the source is
SELECT DISTINCTROW tblUsers.User, tblUsers.Password FROM tblUsers;
Then I have a list box that the source is
SELECT tblUsers.User FROM tblUsers WHERE (((tblUsers.User)=[forms]![Ecran_PCP_form]![User]));
What I would like to do is that when I choose a username from the combobox named " User" then my list named "CodeSupervisor" should show me the data...But it doesn't work....
Does anyone have any clue on how to do this...
I have a Form named "Ecran_PCP_form" and I have a combobox that is independent but the source is
SELECT DISTINCTROW tblUsers.User, tblUsers.Password FROM tblUsers;
Then I have a list box that the source is
SELECT tblUsers.User FROM tblUsers WHERE (((tblUsers.User)=[forms]![Ecran_PCP_form]![User]));
What I would like to do is that when I choose a username from the combobox named " User" then my list named "CodeSupervisor" should show me the data...But it doesn't work....
Does anyone have any clue on how to do this...