Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.8.8/8.7.5) with ESMTP id QAA11024 for ; Wed, 27 May 1998 16:04:00 -0400 (EDT) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.8.5/8.8.5(+AntiRelay)) with UUCP id PAA17019 for pgsql-interfaces@postgreSQL.org; Wed, 27 May 1998 15:53:49 -0400 (EDT) X-Authentication-Warning: u1.abs.net: nobody set sender to insightdist.com!byronn using -f Received: from ceodev by insightdist.com (AIX 3.2/UCB 5.64/4.03) id AA10615; Wed, 27 May 1998 15:30:30 -0400 Received: from [3.0.0.50] by ceodev (AIX 4.1/UCB 5.64/4.03) id AA32234; Wed, 27 May 1998 15:30:29 -0400 Message-Id: <356C6A9F.8D797AEA@insightdist.com> Date: Wed, 27 May 1998 15:33:51 -0400 From: Byron Nikolaidis X-Mailer: Mozilla 4.05 [en] (Win95; I) Mime-Version: 1.0 To: pgsql-interfaces Cc: Oliver Stegle , "bcurnow@sonnet.com" Subject: Got the Cursor Library to work! YE HA! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I finally got the odbc cursor library to work with our odbc driver! This means that things like MFC's CRecordSet snapshot, and others hopefully Visual Basic, etc, will work and also you can do positioned updates! I successfully scrolled around and updated a CRecordset! The cursor library has always existed (we redistribute it with the driver), and in fact for MFC at least, the default was to try to load it. However, because of shortcomings in the driver, the cursor library always failed to load, thus recordsets were not updatable. Most notably preventing the cursor library from working was the missing SQLGetCursorName and SQLSetCursorName functions, which I added, as well as several incorrect info calls. Now, you can execute positioned sql ( select for update, update ... where current of, etc.), and use SQLSetPos(), just by loading the library. Here is a list of things the library adds to the driver: ---------------------------------------------------- SQLExtendedFetch (complete, with FETCH_RELATIVE as well) Postioned SQL Statements (select for update, update ... where current of ) Positioned Operations (with SQLSetPos) Block cursors (multiple rows of bound data) Scrollable cursors (static) This is great because it elevates our level 1 driver to alot more functionality, like that of level 2 drivers! I will be posting the new driver at our website, probably friday. If you need more information about any of this stuff, dont hesitate to ask me. Regards, Byron