OK. Chalk this up to "I wish I knew then....."
My original DB tracked customer orders and, being a fresh Access newbie then (as opposed to a seasoned newbie, now), I put in 20 order fields on each customer's record (10 for date, 10 for item#), hoping one day I'd sell 10 orders to the same guy.
My DB skills have not out-paced business growth and now my staff is stuck deleting old orders on the customer form to add the new ones.
So my new DB is done properly with a separate customer and orders tables (order#(PK), date, CustID, Item#)
I don't want to tell one of my staff to repopulate these records by hand.
Is there a query that can turn......
Record ---> CustID, Date1, Item1, Date2, Item2, Date3, Item3, etc.
into
Record ---> Order#, CustID, Item, Date
for each occurrence of Date1, Item1???
In other words, can I write a query that creates a new record appended to the new orders table for each Date and Item in a record. And do it all at once for all my customers?
Thanks,
/Pat
My original DB tracked customer orders and, being a fresh Access newbie then (as opposed to a seasoned newbie, now), I put in 20 order fields on each customer's record (10 for date, 10 for item#), hoping one day I'd sell 10 orders to the same guy.
My DB skills have not out-paced business growth and now my staff is stuck deleting old orders on the customer form to add the new ones.
So my new DB is done properly with a separate customer and orders tables (order#(PK), date, CustID, Item#)
I don't want to tell one of my staff to repopulate these records by hand.
Is there a query that can turn......
Record ---> CustID, Date1, Item1, Date2, Item2, Date3, Item3, etc.
into
Record ---> Order#, CustID, Item, Date
for each occurrence of Date1, Item1???
In other words, can I write a query that creates a new record appended to the new orders table for each Date and Item in a record. And do it all at once for all my customers?
Thanks,
/Pat