My question is I have a combobox in the application and this combobox is populated with data coming from the mysql database so far so good. I throw the data in a DataSource to feed the combobox however when the user chooses a result of the combobox such as: Sector = FINANCIAL I want to record in the bank the financial sector ID and not the financial word. How can I get this Id?
ParamByName('SETOR').AsString := SETOR.????????;
== > This is where my combobox is called the sector.