CoffeeGuru
Registered User.
- Local time
- Today, 08:56
- Joined
- Jun 20, 2013
- Messages
- 121
Hi I am trying to run a query over a single table that will show me how many stores have a range of products in stock
Access does not have a distinct count and googling has not helped much, maybe its me.
My table looks something like this:
tblSales
StoreNo UID Stock
11112 T123 13
11112 T124 10
11112 T125 5
11112 T126 0
22222 T123 11
22222 T125 1
22227 T123 3
22227 T125 22
My Qry should show
UID Stores
T123 3
T124 1
T125 3
T126 is not shown as it has <1 in stock
can anyone help me
Access does not have a distinct count and googling has not helped much, maybe its me.
My table looks something like this:
tblSales
StoreNo UID Stock
11112 T123 13
11112 T124 10
11112 T125 5
11112 T126 0
22222 T123 11
22222 T125 1
22227 T123 3
22227 T125 22
My Qry should show
UID Stores
T123 3
T124 1
T125 3
T126 is not shown as it has <1 in stock
can anyone help me