[Qt-interest] Qt4, ODBC, Informix IDS11

Bill King bill.king at nokia.com
Tue Sep 29 00:58:43 CEST 2009


On 09/28/2009 10:37 PM, ext a78o wrote:
> Dear Bill,
>
> Thank you for your answer.
> I've got the following last error message after first query.next() call.
> <output>
> "  [Informix][Informix ODBC Driver]Fetch type out of range. QODBC3: Unable to fetch first" 
> </output>
>
> Could you advice something?
>   
Okay, that looks like informix doesn't have a scrollable cursor. You
need to call setForwardOnly(true); before calling first(); (maybe before
exec() too, but try each and see how it goes. ).
Hope this helps.
Btw, in 4.6, this will be fixed to determine automatically that it's a
forward only dataset, and sets that parameter accordingly, but before
then, you have to set it yourself.
>
> -----Original Message-----
> From: Bill King <bill.king at nokia.com>
> To: First Last <a78o at mail.ru>
> Date: Mon, 28 Sep 2009 09:24:46 +1000
> Subject: Re: [Qt-interest] Qt4, ODBC, Informix IDS11
>   
>


-- 
Bill King, Software Engineer
Qt Development Frameworks, Nokia Pty Ltd
Brisbane Office




More information about the Qt-interest-old mailing list