Dear All

We setup our combo like this.

Qt Code:
  1. modKod->setQuery("SELECT kod, id FROM stok_kod UNION SELECT '', null ORDER BY kod");
  2. comboStokKod->setModel(modKod);
  3. comboStokKod->setModelColumn(0);
  4. comboStokKod->setEditable(true);
To copy to clipboard, switch view to plain text mode 

But after that we get a value from another query that id = 5, after that I would like to change the combo to value id = 5?. Anyway I could do it?