PC Review


Reply
Thread Tools Rate Thread

Re: limit display of groups, to only groups which have over specific sum of records

 
 
Brian Camire
Guest
Posts: n/a
 
      5th Aug 2003
If you're asking what I think you're asking, you might, in query design
view, simply try setting the value in the Criteria row to >=50000 for the
field containing the Sum expression. The equivalent SQL might look
something like this:

SELECT
[Your Table].[Your Grouping Field],
Sum([Your Table].[amount paid])
FROM
[Your Table]
GROUP BY
[Your Table].[Your Grouping Field]
HAVING
Sum([Your Table].[amount paid]) >= 50000

This assumes your table is named "Your Table" and you're grouping on a field
named "Your Grouping Field".

"Solsen" <(E-Mail Removed)> wrote in message
news:03ff01c35ada$8f0b7910$(E-Mail Removed)...
> I need to limit the groups displayed in a Query, to only
> those groups whose sum of the "amount paid" field in the
> records of that group, meet the critera of >=50000. How
> can I do this?
>
> Thanks!



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BCM shutting down over and over and over and over TheMurf Microsoft Outlook BCM 1 9th Mar 2007 03:32 PM
Getting same message over and over and over and over each day =?Utf-8?B?Z29pbmJhdHR5?= Microsoft Outlook 1 18th Nov 2005 10:52 PM
Restricted Groups: "Member of" and add Domain Groups to local Groups Hansi Microsoft Windows 2000 Group Policy 1 5th Mar 2005 04:24 AM
XP Login Over & Over & Over & Over Desert Rat Windows XP Help 1 30th Oct 2004 02:37 AM
Outlook 2002 crashes over and over and over and over and over and over typoo Microsoft Outlook Discussion 5 7th Mar 2004 08:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:30 AM.