Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grouping Query
Message
From
28/01/2009 17:39:48
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
Microsoft Office
Category:
Access
Title:
Grouping Query
Environment versions
Microsoft Office:
Office 2007
Miscellaneous
Thread ID:
01377880
Message ID:
01377880
Views:
67
I am trying to run a query in Access. Here is the equivalent query in SQL Server:
SELECT
	CustNum
	, Count(SupplierTransID) As TransCount
	, Count(SupplierTransID) * 2 AS DoubleTransCount
FROM
	SupplierTrans
GROUP BY
	CustNum
However, Access doesn't seem to want to calculate the DoubleTransCount field using the same concept. I get a "Syntax error (missing operator) in query expression... '. Why can't Access handle this query? Do I need to be doing it differently?
Very fitting: http://xkcd.com/386/
Next
Reply
Map
View

Click here to load this message in the networking platform