Hello, I know this might be simple for others, but please I could not get it to work.
I am trying both combo and choice boxes but I could not make it work as I want. I the query result in variable rs (contains id and name), I can place the rs as list items either the id or the name but not both. I want to place the id and name in the combobox or choicebox so that when the selected index change is triggered, I can store the record's real id instead of the combobox or choicebox's id. I am trying to make additional methods to handle finding the record again when retrieving form it's table.
basically i want the combobox or choicebox to use the record's real id instead of the combobox or choicebox's id.
thanks in advance
I am trying both combo and choice boxes but I could not make it work as I want. I the query result in variable rs (contains id and name), I can place the rs as list items either the id or the name but not both. I want to place the id and name in the combobox or choicebox so that when the selected index change is triggered, I can store the record's real id instead of the combobox or choicebox's id. I am trying to make additional methods to handle finding the record again when retrieving form it's table.
basically i want the combobox or choicebox to use the record's real id instead of the combobox or choicebox's id.
thanks in advance