🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: AdoQuery refresh

#1146
From: Chri
Date: Tue, 05 Oct 2004 11:52
45 lines
2445 bytes
I use an Access database... i tried with TADOConnection without
improvements!

"Viatcheslav V. Vassiliev" <support@oledbdirect.com> ha scritto nel
messaggio news:41627996$1@newsgroups.borland.com...
> What is your DBMS? Are you on server-side or client-side cursor?
>
> If you set ConnectionString, try to use TADOConnection.
>
> //------------------------------------------
> 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)
>
> "Chri" <chrip@libero.it> �������/�������� � �������� ���������:
> news:41624583@newsgroups.borland.com...
> > I've a problem with AdoQuery component taht is, if i have ADOQuery the
> > component in my form:
> >
> > TADOQuery* pAdoQuery  =  (TADOQuery*) ADOQuery;
> > pAdoQuery->Close();
> > pAdoQuery->SQL->Clear();
> > pAdoQuery->SQL->Add("SELECT ...");
> > pAdoQuery->Open();
> >
> > pAdoQuery->Append();
> > pAdoQuery->FieldValues[".."] = ...;
> > pAdoQuery->Post();
> >
> > if i try to se immediatly the result of the append it doesn't work:
> > pAdoQuery->Close();
> > pAdoQuery->SQL->Clear();
> > pAdoQuery->SQL->Add("SELECT ...");
> > pAdoQuery->Open();
> >
> > it works only if i wait some seconds....!?!?!?!
> > How can i force the ADOQuery to store immedialtly the data?
> > Thanks, Chri.
> >
> >
>
>
Technical Details
Message-ID: <41628ad0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41624583@newsgroups.borland.com> <41627996$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,3b36c2cc94944aff
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
Reply-To: "Chri" <chrip@libero.it>
From: "Chri" <chrip@libero.it>
Newsgroups: borland.public.cppbuilder.database.ado
References: <41624583@newsgroups.borland.com> <41627996$1@newsgroups.borland.com>
Subject: Re: AdoQuery refresh
Date: Tue, 5 Oct 2004 13:52:09 +0200
Lines: 47
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 82.48.244.225
Message-ID: <41628ad0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096977104 82.48.244.225 (5 Oct 2004 04:51:44 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail