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