W
Wayne Wengert
I am using Access 2003 and running the following query:
SELECT SWP.Eqp1Voc, SWP.[Equip 1 Judge], SWP.Contest
FROM SWP
WHERE (((SWP.Eqp1Voc) In (SELECT [Eqp1Voc] FROM [SWP] As Tmp GROUP BY
[Eqp1Voc] HAVING Count(*)>1 )));
Which (correctly) returns 11 rows as follows::
-------------------------------------------------
8.30,"RIGOLINI R","SW Prelims"
8.50,"RIGOLINI R","SW Prelims"
8.30,"RIGOLINI R","SW Prelims"
8.50,"RIGOLINI R","SW Prelims"
8.30,"RIGOLINI R","SW Prelims"
9.30,"RIGOLINI R","SW Prelims"
8.90,"RIGOLINI R","SW Prelims"
8.90,"RIGOLINI R","SW Prelims"
9.20,"RIGOLINI R","SW Prelims"
9.30,"RIGOLINI R","SW Prelims"
9.20,"RIGOLINI R","SW Prelims"
-------------------------------------------------
What I really want is just the returned row count - e.g. 11
(I am trying to report the number of times a non-unique value of Eqp1Voc
occured)
Can this be accomplished, and if so, How?
TIA
Wayne
SELECT SWP.Eqp1Voc, SWP.[Equip 1 Judge], SWP.Contest
FROM SWP
WHERE (((SWP.Eqp1Voc) In (SELECT [Eqp1Voc] FROM [SWP] As Tmp GROUP BY
[Eqp1Voc] HAVING Count(*)>1 )));
Which (correctly) returns 11 rows as follows::
-------------------------------------------------
8.30,"RIGOLINI R","SW Prelims"
8.50,"RIGOLINI R","SW Prelims"
8.30,"RIGOLINI R","SW Prelims"
8.50,"RIGOLINI R","SW Prelims"
8.30,"RIGOLINI R","SW Prelims"
9.30,"RIGOLINI R","SW Prelims"
8.90,"RIGOLINI R","SW Prelims"
8.90,"RIGOLINI R","SW Prelims"
9.20,"RIGOLINI R","SW Prelims"
9.30,"RIGOLINI R","SW Prelims"
9.20,"RIGOLINI R","SW Prelims"
-------------------------------------------------
What I really want is just the returned row count - e.g. 11
(I am trying to report the number of times a non-unique value of Eqp1Voc
occured)
Can this be accomplished, and if so, How?
TIA
Wayne