Hi everyone. My first post and a very newbie question to ask. I have attached a database (extremely simple) to help explain what I mean.
I have a purchases table which I want to use to record purchases from our suppliers. I also have a suppliers table which appears like a matrix. It lists all our suppliers and the prices we pay for different types of material with each one. There is a finite number of materials and each supplier charges us differently for each one.
What I want is to for the cost field in the sales table to look for the relevant price in the suppliers table based on the Supplier Id and the Material ID. Hopefully the atatched will make it clearer what I mean!
I suspect I need to add other tables. The idea is complicated by the fact each supplier charges differently for each of the 4 materials. I ideally want to be able to retain the price matrix, so that it can be updated as and when prices change.
Many many thanks to anyone who takes the time to look at this.
I have a purchases table which I want to use to record purchases from our suppliers. I also have a suppliers table which appears like a matrix. It lists all our suppliers and the prices we pay for different types of material with each one. There is a finite number of materials and each supplier charges us differently for each one.
What I want is to for the cost field in the sales table to look for the relevant price in the suppliers table based on the Supplier Id and the Material ID. Hopefully the atatched will make it clearer what I mean!
I suspect I need to add other tables. The idea is complicated by the fact each supplier charges differently for each of the 4 materials. I ideally want to be able to retain the price matrix, so that it can be updated as and when prices change.
Many many thanks to anyone who takes the time to look at this.