Probably possible. Does your table have a structure you could share with us?
What would you expect to see in the columns? How does Location relate to
your question?

Signature
Duane Hookom
MS Access MVP
> Total Newbie ..
>
[quoted text clipped - 15 lines]
>
> Bruce
Basic table structure & field I would be picking are as follows:
Loc Code Cust # Appt Date
Hou 1 3/25/05
Aus 2 3/25/05
Aus 10 3/26/05
Aus 11 3/28/05
hou 21 3/30/05
Hou 30 4/1/05
What my desired result is loc based on Now calc. as follows: Now = 3/25/05.
Count Count Count
Loc appt Range #1 Range #2 Range #3
3/25 - 3/27/05 3/28-30/05 3/31-4/02/05
Hou 1 1 1
Aus 2 1 0
etc...
TIA for any help.
Bruce
> Probably possible. Does your table have a structure you could share with us?
> What would you expect to see in the columns? How does Location relate to
[quoted text clipped - 19 lines]
> >
> > Bruce
Duane Hookom - 25 Mar 2005 23:13 GMT
Play with this SQL of a crosstab query:
TRANSFORM Nz(Count([Cust #]),0) AS Expr2
SELECT tblBruceG.[Loc Code]
FROM tblBruceG
GROUP BY tblBruceG.[Loc Code]
PIVOT "Range" & DateDiff("d",Date(),[Appt Date]) Mod 3;

Signature
Duane Hookom
MS Access MVP
--
> Basic table structure & field I would be picking are as follows:
>
[quoted text clipped - 50 lines]
>> >
>> > Bruce