hi all,
i am wondering how to pass the id of a combo box item to an sql statement.
I have a cb populated with a list of departments, pulled from the departments table. i want to display the name of the department in the cb, but i want also to be able to pass the id of the selected item so that i can update that particular entry.
could someone help me out with this? i have the cb filled with the data, I used the wizard to get it to pull both the id and the dept name from the table, and hide the id, but i dont know how to reference the id from within the cb.
thanks
Patrick
Visit my site:
http://www.drybonesuk.com