bool QSqlCursor::exec( const QString & sql ){ d->lastAt = QSql::BeforeFirst; QSqlQuery::exec( sql ); return isActive();}