Re: query unique count for field
- From: "Michel Walsh" <vanderghast@VirusAreFunnierThanSpam>
- Date: Mon, 23 Jan 2006 11:28:11 -0500
Hi,
"Lancslad" <Lancslad@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FD16967C-2B2E-43FF-BF89-039E122DEA6E@xxxxxxxxxxxxxxxx
> I'm afraid I'm still struggling with this. From your valuable help, I now
> have a table of records, then a grouping of those records, and then a
> query
> with the same number of records as the first table, but with sequential
> numbers for each group. I am trying to apply this new grouped sequence to
> the
> first set of records. I am not looking for a 1 to n sequence across the
> whole
> set, but the sequence must reset at the satart if each group.
>
You have it right up to that point. From there, you stop to follow the
suggestion I made, it seems.
If your temp table is like:
auto f1 f2
1 Utah 5050
2 Utah 5051
3 Utah 5052
4 Kansas 10
5 Kansas 22
6 Kansas 27
7 Kansas 32
then query2, see my original post, should return
f1 minGroup
Utah 1
Kansas 4
and the last query would produce:
1+auto-minGroup f1 f2
1 Utah 5050
2 Utah 5051
3 Utah 5052
1 Kansas 10
2 Kansas 22
3 Kansas 27
4 Kansas 32
Hoping it may help,
Vanderghast, Access MVP
.
- Follow-Ups:
- Re: query unique count for field
- From: Lancslad
- Re: query unique count for field
- References:
- Re: query unique count for field
- From: John Spencer
- Re: query unique count for field
- From: Michel Walsh
- Re: query unique count for field
- From: Lancslad
- Re: query unique count for field
- From: Michel Walsh
- Re: query unique count for field
- From: Lancslad
- Re: query unique count for field
- Prev by Date: Crosstab query problem.
- Next by Date: Re: Calcuations in queries
- Previous by thread: Re: query unique count for field
- Next by thread: Re: query unique count for field
- Index(es):
Relevant Pages
|