X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EEAADD8C43 for ; Mon, 5 Sep 2005 01:02:29 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38496-07 for ; Mon, 5 Sep 2005 04:02:19 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id 7EB95D90A2 for ; Sun, 4 Sep 2005 23:20:51 -0300 (ADT) Received: (qmail invoked by alias); 05 Sep 2005 02:20:56 -0000 Received: from A3306.karlshof.wh.tu-darmstadt.de (EHLO [130.83.220.213]) [130.83.220.213] by mail.gmx.net (mp026) with SMTP; 05 Sep 2005 04:20:56 +0200 X-Authenticated: #19323740 Message-ID: <431BAB8C.7040409@gmx.de> Date: Mon, 05 Sep 2005 04:21:00 +0200 From: Matthias Weinert User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: last question.. sorry X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200509/47 X-Sequence-Number: 5945 I'm afraid, I know that i'm getting on your nerves, sorry... :( I'm sure that you have written tons of MFC code with CDatabase/CRecordset which uses cursors. In short words: Database with > 20000 rows (and blobs in it), i want to use cursors to fetch them in batchs (when the user wants to see the next batch). But CRecordset::Open(....) always tries to get the complete statement :( Already tried wild stuff like a simple copy from dbcore.. AFX_ODBC_CALL(::SQLExecDirect(m_hstmt, reinterpret_cast(pszSQL), SQL_NTS)); after some conversions, but of course this did not work... :) Would be very kind if you mention some links or something like that. (limit offset statements work, but it's not really nice...). code would be great (for sure u wrote tons of it). Thanks for answers... Matthias Weinert