A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

T-shirt Sizes



 
 
Thread Tools Display Modes
  #1  
Old July 12th, 2008, 08:39 PM posted to microsoft.public.access.queries
ampickel
external usenet poster
 
Posts: 6
Default T-shirt Sizes

Ok I know that was a weird title. But this is what I need. I am trying to
tally t-shirts into sizes. So right now my table has names and 7 sizes all
in there own columns. Sizes are YS YM YL AS AM AL AXL. As of right now I
have a 1 in the column of the size the athlete wants. What I am wondering is
if I change the t-shirt column to a lookup with all the sizes can I still do
an individual count of each size. EX. Can I get access to count how many
time the YS comes up, or AM comes up? If so How is this done?


  #2  
Old July 12th, 2008, 09:15 PM posted to microsoft.public.access.queries
[email protected]
external usenet poster
 
Posts: 744
Default T-shirt Sizes

On Jul 12, 2:39*pm, ampickel
wrote:
Ok I know that was a weird title. *But this is what I need. *I am trying to
tally t-shirts into sizes. *So right now my table has names and 7 sizes all
in there own columns. Sizes are YS YM YL AS AM AL AXL. *As of right now I
have a 1 in the column of the size the athlete wants. *What I am wondering is
if I change the t-shirt column to a lookup with all the sizes can I still do
an individual count of each size. *EX. *Can I get access to count how many
time the YS comes up, or AM comes up? *If so How is this done?


Wrong design.

Try
Size, Quantity, CustomerID

then it's trivial.
  #3  
Old July 13th, 2008, 02:30 AM posted to microsoft.public.access.queries
Duane Hookom
external usenet poster
 
Posts: 7,177
Default T-shirt Sizes

I agree. The sql view would be something like:
SELECT Size, Sum(Quantity) as NumOf
FROM tblGoodDesign
GROUP BY Size;

--
Duane Hookom
Microsoft Access MVP


" wrote:

On Jul 12, 2:39 pm, ampickel
wrote:
Ok I know that was a weird title. But this is what I need. I am trying to
tally t-shirts into sizes. So right now my table has names and 7 sizes all
in there own columns. Sizes are YS YM YL AS AM AL AXL. As of right now I
have a 1 in the column of the size the athlete wants. What I am wondering is
if I change the t-shirt column to a lookup with all the sizes can I still do
an individual count of each size. EX. Can I get access to count how many
time the YS comes up, or AM comes up? If so How is this done?


Wrong design.

Try
Size, Quantity, CustomerID

then it's trivial.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:18 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.