Article View: borland.public.cppbuilder.database.ado
Article #1500Re: When CursorLocation=clUseServer cannot get RecNo...
From: Viatcheslav V. Vassiliev
Date: Fri, 23 Apr 2004 14:15
Date: Fri, 23 Apr 2004 14:15
29 lines
1999 bytes
1999 bytes
OLEDB provider is not required to return record number and record count. Functions used for this returns approximate number/count by specification. However really -1 should be returned if recno or reccount is not known. Try use Jet provider - it is native and better. //------------------------------------------ Regards, Vassiliev V. V. http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + ADO.Net http://www.oledbdirect.com - The fastest way to access MS SQL Server, MS Jet (Access) and Interbase (through OLEDB) "Vladimir Stefanovic" <antivari@ptt.yu> �������/�������� � �������� ���������: news:40891656$1@newsgroups.borland.com... > I use ODBC provider for ADO to access *.MDB. > > When the 'CursorLocation' is set to 'clUseServer', 'RecNo' > is always '0' and so I cannot inform the user with some > additional info like 'RecNo/RecordCount'. > > Is this normal for 'clUseServer' case? > > Thanks, > Vladimir Stefanovic > > >
Technical Details
Message-ID:
<4089251c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!cyclone1.gnilink.net!gnilink.net!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<40891656$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,4757ea2215c80975 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2004-04-23 07:31:25 PST From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <40891656$1@newsgroups.borland.com> Subject: Re: When CursorLocation=clUseServer cannot get RecNo... Date: Fri, 23 Apr 2004 18:15:58 +0400 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 213.234.218.42 Message-ID: <4089251c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1082729756 213.234.218.42 (23 Apr 2004 07:15:56 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!cyclone1.gnilink.net!gnilink.net!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail