I have a database that I started about 2 years ago. I know I designed it incorrectly so now I want to try to right my wrong.
My database has a table that has:
Product1
OneTimeCost1
RecurringCost1
Product2
OneTimeCost2
RecurringCost2
Product3
OneTimeCost3
RecurringCost3
...all the way up to Product5...
Now what I want to do is convert this into:
Product
OneTimeCost
RecurringCost
Is there a way that I can take whatever is in Productx (where x is 1,2,3,4 or 5) and put that in "Product". And then take OneTimeCostx and put that into "OneTimeCost" -- and then RecurringCostx into "RecurringCost"?
Then I want to do a one to many relationship joining on the CustName.
I hope I gave all the information needed to answer my question. If not, let me know.
Thanks in advance.
My database has a table that has:
Product1
OneTimeCost1
RecurringCost1
Product2
OneTimeCost2
RecurringCost2
Product3
OneTimeCost3
RecurringCost3
...all the way up to Product5...
Now what I want to do is convert this into:
Product
OneTimeCost
RecurringCost
Is there a way that I can take whatever is in Productx (where x is 1,2,3,4 or 5) and put that in "Product". And then take OneTimeCostx and put that into "OneTimeCost" -- and then RecurringCostx into "RecurringCost"?
Then I want to do a one to many relationship joining on the CustName.
I hope I gave all the information needed to answer my question. If not, let me know.
Thanks in advance.