S
spacejones
I am currently using as my database Access 2002. I have a table which
holds orders for certain products. Given that each record in this table
has a quantity ordered field. I want to populate another table called
inventory from this table. The problem I am seemingly facing is that I
don't know how to loop the INSERT command given a field quantity in
that table.
For example if I ordered 5 (Quantity Field) sofa's (Furiture Field) in
black (Color Field). This is in one table, I want to populate another
table with 5 records with say Furniture: Sofa and Color: Black.
For some reason I think this should be simple but maybe I am missing a
function or something. If you can give me some sql or vb using sql or
anything to get this done. Much appreciated.
-Chris
holds orders for certain products. Given that each record in this table
has a quantity ordered field. I want to populate another table called
inventory from this table. The problem I am seemingly facing is that I
don't know how to loop the INSERT command given a field quantity in
that table.
For example if I ordered 5 (Quantity Field) sofa's (Furiture Field) in
black (Color Field). This is in one table, I want to populate another
table with 5 records with say Furniture: Sofa and Color: Black.
For some reason I think this should be simple but maybe I am missing a
function or something. If you can give me some sql or vb using sql or
anything to get this done. Much appreciated.
-Chris