I am trying to use a dropdown list (which takes it’s values from a database table) to display one value but return another (as in a bound column in Access)
Specifically, I want the user to choose from a list of names but I need to return the email address.
I’ve thought about using the selected name in a second SQL statement to look it up but that seems a little long winded – I don’t want to keep running back to the server.
I can also see how to display and return both the name and the email address but then I can’t see how to disentangle them.
Any ideas would be appreciated
Specifically, I want the user to choose from a list of names but I need to return the email address.
I’ve thought about using the selected name in a second SQL statement to look it up but that seems a little long winded – I don’t want to keep running back to the server.
I can also see how to display and return both the name and the email address but then I can’t see how to disentangle them.
Any ideas would be appreciated