[Qt-interest] problem with QSqlQuery

mierdatutis mi mmm286 at gmail.com
Tue May 25 16:38:26 CEST 2010


Many thanks. It works!!!!

The select with * doesnt work but with the fields yes. I was goint to be
crazy....

Many thanks!



2010/5/25 Sean Harmer <sean.harmer at maps-technology.com>

> On Tuesday 25 May 2010 14:59:37 Sean Harmer wrote:
> > Instead for example try it like this:
> >
> > QSqlQuery query;
> Sorry the above line should be
>
> QSqlQuery query( db );
>
> to make the query use your established connection even if it is not the
> default connection.
>
> Sean
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100525/21f7321e/attachment.html 


More information about the Qt-interest-old mailing list