how do you retrieve and store data in a related table. I mean if you have primary key and foriegn keys with Dialog box.
I used modals and each combo box has modal.
but when you enter data, i tried to send the combo box index in to database . which is a stupid idea, and it's not working properly
I am looking for a method which modal shoul have it to retrieve data and send data.
thanks in advance
Joined: Jun 13, 2009
Not sure if I understand the question but here is a solution that allows you to store an Object in the combo box model. It will contain a String value which is visible in the combo box and and "int" value which can be used as the key to access data in the database:
Joined: Dec 16, 2010
Thank you very much Rob
I think that is what I need
I just went through your code and I understand it. I will try it today and I'll let you know,