J
Jean Christophe Avard
Hi! I'm designing an application that produces invoices. I have a combobox
that is populated with the Name of every client in the database. What I
would like to do is to have the combobox to display the name, and to have
the value set to the ID of the record...
Like in HTML where you have something like: <option value="ID_NUMBER(primary
key)">CLIENT_NAME</option>
so, let's say the user selects "Client #2" in the combo box, then I would be
able to call the address of this client using the ID... SELECT * FROM
tbl_clients WHERE id_client = bombobox.selectedValue ...
I don't know if I'm making myself clear, I will be around, so ask anything
if I'm not enough clear. Thank y'all, this really apprecioated!
Jean Christophe Avard!
that is populated with the Name of every client in the database. What I
would like to do is to have the combobox to display the name, and to have
the value set to the ID of the record...
Like in HTML where you have something like: <option value="ID_NUMBER(primary
key)">CLIENT_NAME</option>
so, let's say the user selects "Client #2" in the combo box, then I would be
able to call the address of this client using the ID... SELECT * FROM
tbl_clients WHERE id_client = bombobox.selectedValue ...
I don't know if I'm making myself clear, I will be around, so ask anything
if I'm not enough clear. Thank y'all, this really apprecioated!
Jean Christophe Avard!