Hi
That's the question I have been challenged with.
I have a VB6 program for a clothing wholesaler who asked me to modify it so that every garment could be stored with prices, description and all that but also with the right ammount regarding sizes and colours. And that is the problem To put it more graphically:
S M L XL
Black 2 5 1 0
White 8 2 3 4
Pink 5 4 2 2
etc.
The question is: Can the identification columns coexist with the stock (in sizes and colours) in the same table, in a kind of 3D table?
These data can be easily handled in an array, but the problem comes with storing them. It seems there is no way to make it but using two tables, one for identification data and another related one for stock, like this:
IdArt Colour Size Quantity
1 Black S 2
1 Black M 5
1 Black L 1
1 Black XL 0
1 White S 8
1 White M 2
and so on and on...
I have read something about this multidimensional arrange of data here , but I am unable to make any sense out of it.
Any help or different point of view is great, please feel free to leave your comment.
That's the question I have been challenged with.
I have a VB6 program for a clothing wholesaler who asked me to modify it so that every garment could be stored with prices, description and all that but also with the right ammount regarding sizes and colours. And that is the problem To put it more graphically:
S M L XL
Black 2 5 1 0
White 8 2 3 4
Pink 5 4 2 2
etc.
The question is: Can the identification columns coexist with the stock (in sizes and colours) in the same table, in a kind of 3D table?
These data can be easily handled in an array, but the problem comes with storing them. It seems there is no way to make it but using two tables, one for identification data and another related one for stock, like this:
IdArt Colour Size Quantity
1 Black S 2
1 Black M 5
1 Black L 1
1 Black XL 0
1 White S 8
1 White M 2
and so on and on...
I have read something about this multidimensional arrange of data here , but I am unable to make any sense out of it.
Any help or different point of view is great, please feel free to leave your comment.