Re: Database Design Question - any suggestion?

From: vldm10 <vldm10_at_yahoo.com>
Date: 6 Dec 2004 17:01:56 -0800
Message-ID: <1102379779.986005.257650_at_z14g2000cwz.googlegroups.com>


You can make a table with the following atributes:

Key - for example some autonumber
ArticleNo
Colour
Size
Number - this is the number of articles with corresponding colour and size
Date/Time - if you need this

Example:

(0001, t-shirt-man, yellow, small, 128, 10dec2004/10pm)
(0002, t-shirt-man, yellow, elarge, 0, 10jan2004/08pm)
...
(0017, jeans-wom, blue, large, 29, 08dec2004)
.....

Now you can set queries. For example give me all Colours (or/and size...) for ArticleNo = T-Shirt.
You can set an inverse query: give me all T-Shirts for Colour = Yellow.
( as pair (ArticleNo, Colour) is like m-n).
You can create sreen with a dropdown box for example for ArticleNo( also for other atributes) and corresponding parameters query, etc. You also need one date entry screen.
I hope this will help.

Vladimir Odrljin Received on Tue Dec 07 2004 - 02:01:56 CET

Original text of this message