Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grouping Query
Message
De
28/01/2009 17:39:48
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
Microsoft Office
Catégorie:
Access
Titre:
Grouping Query
Versions des environnements
Microsoft Office:
Office 2007
Divers
Thread ID:
01377880
Message ID:
01377880
Vues:
63
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/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform