<br><br><div class="gmail_quote">2010/5/13 Lorenz Quack <span dir="ltr"><<a href="mailto:don@amberfisharts.com">don@amberfisharts.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I'm experiencing strange behaviour to the point where I suspect a bug in PyQt4.<br>
When I bind a value to a named placeholder in a prepared SqlQuery and that placeholder occures more than once, than not all (only the last?) occurances are bound correctly.<br>
I'll attach an example demonstrating the problem.<br>
<br>
sincerely yours<br><font color="#888888">
//Lorenz<br>
</font><br>
PS: PyQt4 version: 4.7.3<br>
Python version: 2.6.5<br>
Qt verstion: 4.6.2<br>
<br></blockquote><div><br></div><div>Why don't you try to pass QStrings instead of python pure strings when you're preparing your query?</div><div><br></div><div>Thiago</div></div>