This is quite an annoying problem that I have run into with my work on this database. What I want to do is have the sum of a customers purchase on one table, however the values needed to multiply are on two different tables. I will post some pictures to explain it a little better.But what I want to do is have the Order table multiply the total cost of the cars together.
Apparently I cannot post links so if you can help and need more information I will PM you the pictures.
Basically I have created a relation ship between these two tables Car data and Order data. All of the cars have their own unique primary key which is connected to the order data, what i need is go into the car data table pull the price out and multiply it by the quantity in the order data and put the sum into the Total price. Can i get any help with this?
Apparently I cannot post links so if you can help and need more information I will PM you the pictures.
Basically I have created a relation ship between these two tables Car data and Order data. All of the cars have their own unique primary key which is connected to the order data, what i need is go into the car data table pull the price out and multiply it by the quantity in the order data and put the sum into the Total price. Can i get any help with this?