Hi there people,
I am facing a really trick situation - that has me baffled.
I am creating a database for a Home Textile Firm and the problems i am facing are :
1. The products have very different attributes e.g.
A Flat Sheet will have Width, Length, Drop, Hem
A Sham will have Width, Length, Flange, Hem, Flap
A Pliiow will have Width, Length, Hem,
A Bed Skirt will have Width, Length, Drop, Pleats, Size of Pleat
Now, one way of doing it is to have all the attributes and just the ones that the product relates to will be filled in (But that way i will be left with many Nulls which i don't think is the best way to do it)
2. Each product has a different formula of calculating the fabric width required and the rating for the fabric. How to i have these formulas calculating accordingly. One way is to create a separate form for each product (But again this is inefficient - since each time a new product is added - mean a new form needs to be created)
Formula Example (Bed Skirt) 60 x 80 with 14" Drop and 4 Pleats each Pleat 2"
60 + 2" Seam = 62
80 + 2" Seam = 82
-----------------------
62" for 1 side = 62"
82" for 2 sides = 82" ' Since Skirts cover 3 sides
= 226
4 Pleats * (2" * 4) = 32
= 258 / 39.37 = 6.55 meters
and since the drop is 14" + 1 for Seam = 15 " Fabric Width
Any suggestion would be highly appreciated.
Bert
I am facing a really trick situation - that has me baffled.
I am creating a database for a Home Textile Firm and the problems i am facing are :
1. The products have very different attributes e.g.
A Flat Sheet will have Width, Length, Drop, Hem
A Sham will have Width, Length, Flange, Hem, Flap
A Pliiow will have Width, Length, Hem,
A Bed Skirt will have Width, Length, Drop, Pleats, Size of Pleat
Now, one way of doing it is to have all the attributes and just the ones that the product relates to will be filled in (But that way i will be left with many Nulls which i don't think is the best way to do it)
2. Each product has a different formula of calculating the fabric width required and the rating for the fabric. How to i have these formulas calculating accordingly. One way is to create a separate form for each product (But again this is inefficient - since each time a new product is added - mean a new form needs to be created)
Formula Example (Bed Skirt) 60 x 80 with 14" Drop and 4 Pleats each Pleat 2"
60 + 2" Seam = 62
80 + 2" Seam = 82
-----------------------
62" for 1 side = 62"
82" for 2 sides = 82" ' Since Skirts cover 3 sides
= 226
4 Pleats * (2" * 4) = 32
= 258 / 39.37 = 6.55 meters
and since the drop is 14" + 1 for Seam = 15 " Fabric Width
Any suggestion would be highly appreciated.
Bert