🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #785

Re: ADODataset without post changed data in client side.

#785
From: Viatcheslav V. Vassiliev
Date: Wed, 20 Apr 2005 06:30
31 lines
2111 bytes
Use TADOConnection. Set TADODataSet->Connection to it, open dataset and then 
set TADODataSet->Connection to NULL. Do it all with client-side cursor and 
you will get disassociated recordset. Or use LockType = ltBatchOptimistic 
and never call UpdateBatch().

//------------------------------------------
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)

"Julian Lliteras" <yartax@hotmail.com> �������/�������� � �������� 
���������: news:4264c908@newsgroups.borland.com...
> Hi,
>
> In my app, I retrieve data from SQL Server with TADODataset with +- 2000
> rows. I need to modify these records without post them to server. I tryed 
> to
> copy data from ADODataset to ClientDataset in a while bucle, but it's not 
> a
> nice solution and it's very slow too. There is any manner to read data, 
> and
> modify changes only in the client side with ADODataset?
>
>
> Thanks!
> Julian.
>
> 
Technical Details
Message-ID: <4265f70a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.kamp.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4264c908@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,f9bd11ec09e35d1b
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <4264c908@newsgroups.borland.com>
Subject: Re: ADODataset without post changed data in client side.
Date: Wed, 20 Apr 2005 10:30:36 +0400
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 85.93.136.39
Message-ID: <4265f70a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113978634 85.93.136.39 (19 Apr 2005 23:30:34 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.kamp.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail