[Qt-interest] QSqlDriver::sqlStatement returns an empty string...
Andre Somers
andre at familiesomers.nl
Tue May 11 18:00:23 CEST 2010
On 11-5-2010 17:41, 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
>
Could you show the relevant code?
sqlStatement() is a bit of an unpolished beast. I had some problems with
it myself before, and it is hardly documented.
André
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100511/aa8cc8ab/attachment.html
More information about the Qt-interest-old
mailing list