Things like DISCTINCT and GROUP BY are opposite; remove the « DISTINCT TOP
100 PERCENT ». Second, « BoothName » is not part of the Select list; so you
should either add it to the Select List or make your Order By on the
FirstBooth column.
Don't forget that after the Group By, any direct relationship between a
column and it's underlying table is lost (or something like that).
For more complexe Grouping, Ordering and Presentation of data, you might
have to use sub-queries.

Signature
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)
>I get the following error w/ the below select statement:
> ADO error: ORDER BY items must appear in the select list if SELECT
[quoted text clipped - 38 lines]
> Thanks
> ToniS
ToniS - 24 Jul 2007 15:12 GMT
Thanks for your input, I have tried a whole bunch of different things,
including removing the Disctinct Top 100 Percent, I will try it again w/ the
below select statement, (Not sure how I had the select statement when I first
tried that) If that does not work, the suggestion of using sub queries is a
good idea, I will do that.
Thanks again
Tonis
> Things like DISCTINCT and GROUP BY are opposite; remove the « DISTINCT TOP
> 100 PERCENT ». Second, « BoothName » is not part of the Select list; so you
[quoted text clipped - 49 lines]
> > Thanks
> > ToniS