Resechedule
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 8 articles for 0.303 sec
Bob: Now that's what I call creative thinking. Thanks so much, Robert "Bob Barrows [MVP]" wrote: > I would probably use a union query if there was some reason not to use a > calculated field in a report: > > SELECT Class_Status, Count(Class_Status) as TheCount > FROM [ClassesTable] > WHERE Class_Date Between #1/1/2007# and #12/31/2008# > GROUP BY Class_Status > Union > SELECT     

Group: microsoft.public.access.queries · Group Profile · Search for Resechedule in microsoft.public.access.queries
Author: Robert T
Date: Jul 3, 2008 09:01

I would probably use a union query if there was some reason not to use a calculated field in a report: SELECT Class_Status, Count(Class_Status) as TheCount FROM [ClassesTable] WHERE Class_Date Between #1/1/2007# and #12/31/2008# GROUP BY Class_Status Union SELECT 'All Classes' as Class_Status, Count(*) as TheCount FROM [ClassesTable] WHERE Class_Date Between #1/1/2007# and #12/31/2008#
Show full article (3.66Kb) · Show article thread
Calculated columns don't work like that unfortunately. "Robert T" wrote: > Scubadriver: > > Except for the fact that I only need the total once, that's exactly what we > need. > > So I can use DSum to create a calculated field in the same query John > designed? > > Thanks, > Robert > > "scubadiver" wrote: > > > > > Is this the kind of thing you are after? > > > > Completed     

Group: microsoft.public.access.queries · Group Profile · Search for Resechedule in microsoft.public.access.queries
Author: Bob Barrows [MVP]
Date: Jul 3, 2008 08:33

Scubadriver: Except for the fact that I only need the total once, that's exactly what we need. So I can use DSum to create a calculated field in the same query John designed? Thanks, Robert "scubadiver" wrote: Is this the kind of thing you are after? Completed 15 72 Cancelled 18 72 Resecheduled
Show full article (3.32Kb) · Show article thread
Is this the kind of thing you are after? Completed 15 72 Cancelled 18 72 Resecheduled 12 72 Cancelled - No Registrants 13 72 Cancelled - No Attendees 14 72 If this is the case, I think DSum would work. "Robert T" wrote: > Hi John: > > Thanks for the prompt response. That query works as designed, it     

Group: microsoft.public.access.queries · Group Profile · Search for Resechedule in microsoft.public.access.queries
Author: scubadiver
Date: Jul 3, 2008 07:31

Hi John: Thanks for the prompt response. That query works as designed, it gives us the total number of classes for each status. That's what we want, but there's still a problem. I can design a query that gives us the total number of classes during that time frame. Or, I can design a query that gives us the total number of classes for each status, which is the one you designed. However
Show full article (3.04Kb) · Show article thread
SELECT Class_Status, Count(Class_Status) as TheCount FROM [ClassesTable] WHERE Class_Date Between #1/1/2007# and #12/31/2008# GROUP BY Class_Status In design view -- Add your table -- Add Class_Status field TWICE and Class_Date field once -- Select View: Totals from the Menu -- Change GROUP by under one Class_Status field to COUNT -- Change GROUP BY under Class_Date to WHERE -- Enter date     

Group: microsoft.public.access.queries · Group Profile · Search for Resechedule in microsoft.public.access.queries
Author: Robert T
Date: Jul 3, 2008 07:10

Hello: tblClasses ----------- I thought designing this query would be easy, but it's turning out to be harder than I anticipated. Obviously I'm doing something wrong. We need to count the number of classes between 2 dates [Class_Date] field. That's the easy part. Then we have to count the number of classes in each category, based on the [Class_Status] field, that were "Completed"
Show full article (2.78Kb) · Show article thread
    

Group: microsoft.public.access.queries · Group Profile · Search for Resechedule in microsoft.public.access.queries
Author: scubadiver
Date: Jul 3, 2008 06:14

Show full article (2.41Kb) · Show article thread
    

Group: microsoft.public.access.queries · Group Profile · Search for Resechedule in microsoft.public.access.queries
Author: Robert T
Date: Jul 3, 2008 05:24

Show full article (1.97Kb) · Show article thread
    

Group: microsoft.public.access.queries · Group Profile · Search for Resechedule in microsoft.public.access.queries
Author: John Spencer
Date: Jul 3, 2008 05:08

Show full article (1.22Kb) · Show article thread
    

Group: microsoft.public.access.queries · Group Profile · Search for Resechedule in microsoft.public.access.queries
Author: Robert T
Date: Jul 3, 2008 04:37

Show full article (0.62Kb)