Article View: borland.public.cppbuilder.database.ado
Article #5038Re: SQL Server/ADO CursorLocation property
From: Harold Howe (TeamB)
Date: Sun, 05 Aug 2001 21:40
Date: Sun, 05 Aug 2001 21:40
22 lines
2120 bytes
2120 bytes
Jakob Petersen wrote: > > I have established a ado connection in C++ Builder v5 SP1 ADO SP1 to a SQL > Server 2000. I have set the CursorLocation in a TADOConnection to > clUseServer and connected a TADOQuery to it. But when i connect a TDBGrid to > the the query then i get an error saying that bookmarks are not support by > the provider/connection. Cant SQL Server 2000 not use Server side cursors > that are opened for bookmarks,updating,backward fetching and so on? I have > no problems using Client side cursors but i really would like to use server > cursors. No problems with server cursors on Oracle and Access!! I tried this with SQL server 7 (sorry, I don't have 2000), and couldn't reproduce the error. Sorry. You might try searching mers.com or groups.google.com for the exact error message that you get. Maybe someone else has ran into this. PS: if you don't use a client side cursor, then you won't get smooth scrolling in the DBgrid. You will get that hoaky scrollbar where the scroll butt is at the top, in the middle, or at the bottom, with no in betweens. For some people. Smooth scrolling is important enough to use client side cursors. Harold Howe [TeamB] http://www.bcbdev.com
Technical Details
Message-ID:
<3B6DBD4F.26790B3D@bcbdev.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!news-xfer.siscom.net!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3b65ed06_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,ddc205b2df1b5a30 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-08-05 14:47:21 PST Message-ID: <3B6DBD4F.26790B3D@bcbdev.com> Date: Sun, 05 Aug 2001 16:40:31 -0500 From: "Harold Howe (TeamB)" <hhowe@bcbdev.com> X-Mailer: Mozilla 4.03 [en] (WinNT; I) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: SQL Server/ADO CursorLocation property References: <3b65ed06_1@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.22.227.236 X-Trace: dnews 997047619 24.22.227.236 (5 Aug 2001 14:40:19 -0700) Lines: 22 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!news-xfer.siscom.net!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews