Hi guys,<div class="gmail_quote"><div><br></div><div>My first post in this list, a big hello to everyone :D</div><div><br></div><div>I am just starting with Pyqt but have enough experience with python. </div><div><br></div>
<div>I am connecting a Mysql Databse nicely, being able to retrieve the complete table and</div>
<div>get it as a model. I've then been able to display in a combobox a "Name" column  </div><div>just by using 'setcolumn(1).</div><div><br></div><div>Until here is all good, but is passing the Id from that record that's proven hard to crack for me.</div>

<div>I've been looking around in the net, but havent been able to find an example using a database.</div><div>So display "Jane" put pass on the unique ID of that record.</div><div><br></div><div>I have an 'activated' function that is being executed everytime the combo changes, but at the moment it's only retrieving</div>

<div>info from that column that's displayed in the combobox.</div><div><br></div><div>Any help or hint would be really usefull.</div><div><br></div><div>Thanks again,</div><span class="HOEnZb"><font color="#888888"><div>
Cristobal</div><div><br></div>
</font></span></div><br>