Question
Aggregate functions in a Dataset in Dreamweaver CS3
Hi. I'm pretty new to Dreamweaver but I've created several
ASP.NET (VB) pages that connect to my SQL 2005 database. The
current query I'm trying to create is the first that uses aggregate
functions and I keep getting an error (BC32017: Comma, ')', or a
valid expression continuation expected.)
I've verified that my SQL command is correct and returning the expected data when using the test button on the dataset configuration but when I try to preview the page in IE7 I get the error above. The SQL statement I'm trying to use is:
SELECT Player_Name "Player Name", Sum(Pass_Yds) "Pass YDs", Sum(Pass_TDs) "Pass TDs"
FROM Stats
WHERE Pos = 'QB'
GROUP BY Player_Name
ORDER BY Sum(Pass_TDs) desc
If anyone has any words of wisdom, I'd really appreciate it. Thanks in advance.
Brian
I've verified that my SQL command is correct and returning the expected data when using the test button on the dataset configuration but when I try to preview the page in IE7 I get the error above. The SQL statement I'm trying to use is:
SELECT Player_Name "Player Name", Sum(Pass_Yds) "Pass YDs", Sum(Pass_TDs) "Pass TDs"
FROM Stats
WHERE Pos = 'QB'
GROUP BY Player_Name
ORDER BY Sum(Pass_TDs) desc
If anyone has any words of wisdom, I'd really appreciate it. Thanks in advance.
Brian