Article View: borland.public.cppbuilder.database.ado
Article #5165Sv: SQL Server/ADO CursorLocation property
From: Jakob Petersen
Date: Wed, 01 Aug 2001 11:58
Date: Wed, 01 Aug 2001 11:58
48 lines
2205 bytes
2205 bytes
Hi Arnie, Thanks for your answer. I have tried that suggestion already without any luck. The CursorType is automatically set to ctDynamic on a TADOQuery. Im using MDAC 2.6 Service pack 1. Maybe its a problem with the Microsoft OLE DB Provider for SQL Server. Best Regards, Jakob Petersen Microhouse "Arnie Mauer" <arnie@vrms.com> skrev i en meddelelse news:3b66cc59_1@dnews... > Set the CursorType property to "ctKeyset". This supports bookmarks > which are required for a TDBGrid. > > Good luck, > - Arnie > > "Jakob Petersen" <Jakob@microhouse.dk> wrote in message > news:3b65ed06_1@dnews... > > Hi, > > > > 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!! > > > > Best Regards, > > > > Jakob Petersen > > Microhouse > > > > > >
Technical Details
Message-ID:
<3b67ee2f_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3b65ed06_1@dnews> <3b66cc59_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-01 05:12:38 PST From: "Jakob Petersen" <Jakob@microhouse.dk> Newsgroups: borland.public.cppbuilder.database.ado References: <3b65ed06_1@dnews> <3b66cc59_1@dnews> Subject: Sv: SQL Server/ADO CursorLocation property Date: Wed, 1 Aug 2001 13:58:05 +0200 Lines: 50 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 212.242.243.79 Message-ID: <3b67ee2f_2@dnews> X-Trace: dnews 996666927 212.242.243.79 (1 Aug 2001 04:55:27 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!dnews