Article View: borland.public.cppbuilder.database.ado
Article #1144AdoQuery refresh
From: Chri
Date: Tue, 05 Oct 2004 06:56
Date: Tue, 05 Oct 2004 06:56
22 lines
1466 bytes
1466 bytes
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:
<41624583@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,3b36c2cc94944aff,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Chri" <chrip@libero.it> From: "Chri" <chrip@libero.it> Newsgroups: borland.public.cppbuilder.database.ado Subject: AdoQuery refresh Date: Tue, 5 Oct 2004 08:56:05 +0200 Lines: 24 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: <41624583@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1096959363 82.48.244.225 (4 Oct 2004 23:56:03 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail