Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.9.1/8.9.1) with ESMTP id PAA11058 for ; Fri, 8 Jan 1999 15:01:10 -0500 (EST) (envelope-from byronn@insightdist.com) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.9.0/8.9.0) with UUCP id OAA25024 for pgsql-interfaces@hub.org; Fri, 8 Jan 1999 14:42:39 -0500 (EST) 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 AA42747; Fri, 8 Jan 1999 14:33:57 -0500 Received: from byronn by ceodev (AIX 4.1/UCB 5.64/4.03) id AA83772; Fri, 8 Jan 1999 14:28:36 -0500 Message-Id: <36965E2D.12FEDD2C@insightdist.com> Date: Fri, 08 Jan 1999 14:36:13 -0500 From: Byron Nikolaidis X-Mailer: Mozilla 4.05 [en] (Win95; I) Mime-Version: 1.0 To: "pgsql-interfaces@hub.org" Cc: "pgsql-announce@postgreSQL.org" Subject: NEW ODBC DRIVER v06-40-0004 supports Bookmarks! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, There is a new odbc driver at our website http://www.insightdist.com/psqlodbc. This version fully supports bookmarks! It is not all that big of a deal, because the bookmark I am using is just a row number for now, so SQLExtendedFetch(SQL_FETCH_ABSOLUTE) would be equivalent. But it is great for applications that already depend upon bookmark functionality or would like to be future compatible if the driver ever uses more sophisticated cursor methods, where the bookmark might map to a key. Bookmarks can be retrieved through any of the following methods: SQLGetData on column 0 with SQL_C_BOOKMARK type SQLGetStmtOption with SQL_GET_BOOKMARK SQLBindCol on column 0 with SQL_C_BOOKMARK type along with SQLExtendedFetch (not SQLFetch) A rowset can then be positioned using SQLExtendedFetch with the SQL_FETCH_BOOKMARK option by passing the bookmark as the irow argument. Rowsets larger than 1 are supported with bookmarks as well as with row-wise or column-wise binding. SQLSetPos can also be used to position to a row within a rowset to retrieve a bookmark with SQLGetData or SQLGetStmtOption(SQL_GET_BOOKMARK). To use bookmarks, they must be first enabled with the Statement Option SQL_USE_BOOKMARKS. *** Important note -- Currently, bookmarks can only be positioned to when NOT using the Declare/Fetch option. Another way of saying this is when using Declare/Fetch, SQL_FETCH_NEXT is the only allowed option to SQLExtendedFetch. :-) If anyone has any comments or questions, feedback is appreciated. Byron