InspiredKiwi
Technical User
Hi folks,
I am trying to do some basic things in Access. I've got manuals on hand but some things I've not been able to find.
I have a combo box. It changes a numeric ID field in the table it's based on. Let's call this "UserID". UserID is also on another table that lists users (their names etc.). I have set up a Select query as follows:
SELECT jos_users.name, jos_users.username, jos_users.id FROM jos_users ORDER BY jos_users.name;
This enables me to see the numeric ID and the actual user name related to each ID. This is necessary because the end user can't identify "users" by their ID... they will need to see the name of the "user".
Everything works as I want except for one thing. I'd like the Combo box to display the username and not the ID. The box controls the ID but I want it to display the username.
Am I making sense? I do hope so!!
Is this possible?
With much thanks...
Jonathan
I am trying to do some basic things in Access. I've got manuals on hand but some things I've not been able to find.
I have a combo box. It changes a numeric ID field in the table it's based on. Let's call this "UserID". UserID is also on another table that lists users (their names etc.). I have set up a Select query as follows:
SELECT jos_users.name, jos_users.username, jos_users.id FROM jos_users ORDER BY jos_users.name;
This enables me to see the numeric ID and the actual user name related to each ID. This is necessary because the end user can't identify "users" by their ID... they will need to see the name of the "user".
Everything works as I want except for one thing. I'd like the Combo box to display the username and not the ID. The box controls the ID but I want it to display the username.
Am I making sense? I do hope so!!
Is this possible?
With much thanks...
Jonathan