[Qt-interest] QSqlDriver::sqlStatement returns an empty string...
Constantin Makshin
cmakshin at gmail.com
Tue May 11 18:00:26 CEST 2010
Have you checked the error returned by QSqlDriver::lastError()?
On Tuesday 11 May 2010 19:41:14 Eric Clark wrote:
> Hello All,
>
> I am having an issue with the SqLite driver. I am trying to prepare a query using the sqlStatement() function. Every time I call it, whether I pass in InsertStatement or UpdateStatement I get an empty string returned. I have double-checked to make sure the table exists and that the record I pass in has valid fields and everything seems to be fine except the fact that it always returns an empty string. Has anyone experienced this problem before? Is this a limitation with the SqLite driver or something?
>
> Thank You in advance!
> Eric
More information about the Qt-interest-old
mailing list