Top 5 Tip
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 14338 articles for 1.471 sec
Try this simplified version until you get it working.: SELECT [EditedBy], DateValue([DateEdited]) AS TheDate, FROM tblMaster WHERE DateValue([DateEdited]) IN (SELECT TOP 5 DateValue([DateEdited]) FROM tblMaster as Dup WHERE Dup.EditedBy=tblMaster.EditedBy ORDER BY DateValue([DateEdited]) DESC) GROUP BY [EditedBy], DateValue([DateEdited]), ORDER BY [EditedBy], DateValue([DateEdited     

Group: microsoft.public.access.queries · Group Profile · Search for Top 5 Tip in microsoft.public.access.queries
Author: Allen Browne
Date: Aug 4, 2008 09:16

As a guess, the records being returned by the subquery include duplicates. Something like 11/1/2008 11/1/2008 11/1/2008 11/13/2008 11/13/2008 And then the group by clause is reducing that down to show two records. John Spencer Access MVP 2002-2005, 2007-2008 The Hilltop Institute University of Maryland Baltimore County Song wrote: Thanks for quick reply. I followed the example
Show full article (3.31Kb) · Show article thread
Everyone's goal for a long and healthy life should include a healthy diet, regular exercise, and maintaining normal weight. Exercise significantly raises your core body temperature and makes you more vigilant. People who are overweight or obese burn more calories proportionately doing the same activity, for the same duration and at the same intensity, than those of normal weight.Exercising helps people     

Group: microsoft.public.access.queries · Group Profile · Search for Top 5 Tip in microsoft.public.access.queries
Author: John Spencer
Date: Aug 4, 2008 09:15

eaeqaaeamamx@yahoo.com wrote: 1. Know your purpose Are you wandering through life with little direction - hoping that you'll find happiness, health and prosperity? Identify your life purpose or mission statement and you will have your own unique compass that will lead you to your truth north every time. 2. Know your values What do you value most? Make a list of your top 5 values
Show full article (2.61Kb) · Show article thread
1. Know your purpose Are you wandering through life with little direction - hoping that you'll find happiness, health and prosperity? Identify your life purpose or mission statement and you will have your own unique compass that will lead you to your truth north every time. 2. Know your values What do you value most? Make a list of your top 5 values. Some examples are security, freedom, family     

Group: alt.support.diet · Group Profile · Search for Top 5 Tip in alt.support.diet
Author: ForestGump
Date: Jun 9, 2008 14:35

Thanks Allen for furnishing this solution. I just made use of it to achieve a very similar result, in my organization's fundraising database (8 most recent donations per donor...) Regards, Franklin "Allen Browne" wrote: See: Subquery basics: TOP n records per group at: http://allenbrowne.com/subquery-01.html#TopN -- Allen Browne - Microsoft MVP. Perth
Show full article (3.97Kb)
The subquery would need to read from your sales table, and group by the foeign key. Perhaps something like this: select * from stores where StoreID in (select top 5 StoreID FROM Sales GROUP BY StoreID, avg(sales + amount) ORDER BY avg(sales + amount) DESC); More info on subqueries: http://allenbrowne.com/subquery-01.html -- Allen Browne - Microsoft MVP. Perth     

Group: alt.support.anxietypanic · Group Profile · Search for Top 5 Tip in alt.support.anxietypanic
Author: humble.life
Date: May 6, 2008 15:13

Thank you very much "Allen Browne" wrote: See: Subquery basics: TOP n records per group at: http://allenbrowne.com/subquery-01.html#TopN -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "Ray" <Ray@discussions.microsoft.com> wrote
Show full article (1.38Kb) · Show article thread
See: Subquery basics: TOP n records per group at: http://allenbrowne.com/subquery-01.html#TopN -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "Ray" <Ray@discussions.microsoft.com> wrote in message news:31857AD7-3DFA-4A34-AA20-67E10BB55EAB@microsoft.com     

Group: alt.support.anxietypanic · Group Profile · Search for Top 5 Tip in alt.support.anxietypanic
Author: eaeqaaeamamx
Date: May 6, 2008 02:20

Perhaps something like this: SELECT Sum(x) AS SumOfX FROM Table1 WHERE Table1.ID IN (SELECT TOP 5 ID FROM Table1 AS Dupe ORDER BY Dupe.y, Dupe.ID); If subqueries are new, see: http://allenbrowne.com/subquery-01.html -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne
Show full article (1.21Kb)
    

Group: microsoft.public.access.queries · Group Profile · Search for Top 5 Tip in microsoft.public.access.queries
Author: Franklin Smith
Date: Apr 24, 2008 10:21

Show full article (1.25Kb) · Show article thread
    

Group: microsoft.public.access · Group Profile · Search for Top 5 Tip in microsoft.public.access
Author: Allen Browne
Date: Mar 9, 2008 18:05

Show full article (0.79Kb) · Show article thread
    

Group: microsoft.public.access.queries · Group Profile · Search for Top 5 Tip in microsoft.public.access.queries
Author: Ray
Date: Feb 19, 2008 04:44

Show full article (1.07Kb) · Show article thread
    

Group: microsoft.public.access.queries · Group Profile · Search for Top 5 Tip in microsoft.public.access.queries
Author: Allen Browne
Date: Feb 18, 2008 20:58

Show full article (0.97Kb) · Show article thread
    

Group: microsoft.public.access · Group Profile · Search for Top 5 Tip in microsoft.public.access
Author: Allen Browne
Date: Jan 23, 2008 18:24

Show full article (0.68Kb) · Show article thread
1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 · 9 · next