Article View: borland.public.cppbuilder.database.ado
Article #4092ADOQuery and aggregates
From: Steffen Warg
Date: Thu, 11 Apr 2002 07:33
Date: Thu, 11 Apr 2002 07:33
20 lines
1362 bytes
1362 bytes
Hi everyone, I am using C++Builder 5 and Microsoft SQL Server database. I want to detect in this query if there is an aggregate field enclosed. I used aggfields but it doesn't work. My query as following: SELECT sum(), avg(), .... FROM ...,.... GROUP BY ...., But: TADOQuery-> AggFields->Count = 0!! Did anyone an idea how I can solve this? Thanks a lot!
Technical Details
Message-ID:
<3cb53c42_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!hub1.nntpserver.com!telocity-west!TELOCITY!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,fe6b9c810992033f,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-04-11 00:36:12 PST From: "Steffen Warg" <Steffen.Warg@t-online.de> Newsgroups: borland.public.cppbuilder.database.ado Subject: ADOQuery and aggregates Date: Thu, 11 Apr 2002 09:33:26 +0200 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 217.0.222.104 Message-ID: <3cb53c42_1@dnews> X-Trace: dnews 1018510402 217.0.222.104 (11 Apr 2002 00:33:22 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!hub1.nntpserver.com!telocity-west!TELOCITY!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews