Hi Everyone,
I am hoping someone can help!...
I have 6 tables that I join together using a SQL Union query (there is no id that links the 6 tables to each other, but they link to other tables)
Each table is from a supplier and contains the fields 'Supplier Name' 'product ID' 'Net Price' 'Invoice Price'.
The union query is matched up to three other tables using the 'product id' field to bring back other information associated with the product.
My problem is how to build up a history of prices for the products.
The 6 tables from each supplier will be coming in every month-at the moment I just have the current month, however I need to be able to store monthly prices and show whether a price has changed from the last month.
Not sure how I can do it-I've thought about in some way including a month field on each of the 6 tables, then appending data to a table each month, but then how would I actually view the data? Ultimately I'd like to have some sort of table with a graph, showing the last 5 or 6 months prices!
Can anyone point me in the right direction with this??
Many thanks,
Sasha
London, UK
I am hoping someone can help!...
I have 6 tables that I join together using a SQL Union query (there is no id that links the 6 tables to each other, but they link to other tables)
Each table is from a supplier and contains the fields 'Supplier Name' 'product ID' 'Net Price' 'Invoice Price'.
The union query is matched up to three other tables using the 'product id' field to bring back other information associated with the product.
My problem is how to build up a history of prices for the products.
The 6 tables from each supplier will be coming in every month-at the moment I just have the current month, however I need to be able to store monthly prices and show whether a price has changed from the last month.
Not sure how I can do it-I've thought about in some way including a month field on each of the 6 tables, then appending data to a table each month, but then how would I actually view the data? Ultimately I'd like to have some sort of table with a graph, showing the last 5 or 6 months prices!
Can anyone point me in the right direction with this??
Many thanks,
Sasha
London, UK