How to use 'Count' in Access for a field of type string
Dear All,
I have a table with the following fields. I'm trying to count the number of times the same string appears in ItemID, the same string in ModelID for each LocationID.
ID (Number)
ItemID (String)
LocationID (Number)
ModelID (String)
I've tried:
SELECT Count([Table1].ItemID) AS ItemCount, Count([Table1].ModelID) AS ModelCount, [Table1].LocationIDFROM (SELECT DISTINCT [Table1].LocationID FROM [Table1] );