Hi
I know there has to be a better way of doing this and hopefully someone knows it.
but here goes,
I have a combobox populating from a SQL table which has 2 columns (User_ID and User_Name). I am populating the combo box with User_Name then when you pick the appropiate name it should look at another table to get their records but it needs the User_ID to do this.
In VB6 I used to make another combo box populated by the User_ID which was hidden and when you picked a User Name then the User_ID combo would change to the relevant ID.
but I am sure there has to be a better way of doing this.
any help would be highly appreciated.
I know there has to be a better way of doing this and hopefully someone knows it.
but here goes,
I have a combobox populating from a SQL table which has 2 columns (User_ID and User_Name). I am populating the combo box with User_Name then when you pick the appropiate name it should look at another table to get their records but it needs the User_ID to do this.
In VB6 I used to make another combo box populated by the User_ID which was hidden and when you picked a User Name then the User_ID combo would change to the relevant ID.
but I am sure there has to be a better way of doing this.
any help would be highly appreciated.