SELECT DISTINCT highlightDates.highlightID, HighlightDates.HighlightDate,
Highlights.*
FROM Highlights, HighlightDates
WHERE HighlightDates.HighlightDate >= #startweek# AND
HighlightDates.highlightdate <= #DateAdd('ww', 1, startweek)# AND
Highlights.HighlightID = HighLightDates.HighlightID AND Highlights.Status =
1

Can some one tell me why the query above doesn't work
I thought it would only look at highlightDates.highlightID and select a
distinct one of those, but it seems to be trying to do a distinct over all
of the selected fields

help! how can i make it select a distinct highlightID?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to