Article View: borland.public.cppbuilder.database.ado
Article #1395ADOQuery->Next
From: hs
Date: Tue, 06 Jul 2004 13:44
Date: Tue, 06 Jul 2004 13:44
10 lines
1057 bytes
1057 bytes
Hi! When I load data directly into the dbgrid it takes about 2-3 secs, but when I use a 'for' loop to take every rows in ADOQuery result using Next it takes a lot more, about 20 secs. How to optimise ADOQuery->Next? Without Next my loop ends after about 4 secs. regards hs
Technical Details
Message-ID:
<40eaab97@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.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,ab65d78220f89c34,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "hs" <nospam@dev.null> Newsgroups: borland.public.cppbuilder.database.ado Subject: ADOQuery->Next Date: Tue, 6 Jul 2004 15:44:34 +0200 Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 NNTP-Posting-Host: 80.51.9.3 Message-ID: <40eaab97@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089121175 80.51.9.3 (6 Jul 2004 06:39:35 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.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