Detailed question didn't fit in the title : How to prevent updating existing values in a query field when the value in the related table field changes.
I have a table Product, which has fields product number, description, price, etc. I then have a query ProductQ, which has all the fields of the table Product, and some calculated fields (like tax from %, total price) based on the Product fields. This query ProductQ is used in other queries for making Purchase orders, quotation and invoices.
I have been using this structure since last one year. Now some prices have been revised, but what happens is if I edit the price in the table Product, then all the existing records in Purchase Orders and Invoices reflect the edited price. I want to change the price of only future records, not the existing ones. How do I do it ?
There are no relationships as such, as there is only one table which has the price and that is Product table.
My present option is to duplicate all product records except the product number and then change the prices in the duplicated records and start using them instead of the old records, but I would really like to have a permanent solution, as the price change will be very frequent. Thanks for these forums
I have a table Product, which has fields product number, description, price, etc. I then have a query ProductQ, which has all the fields of the table Product, and some calculated fields (like tax from %, total price) based on the Product fields. This query ProductQ is used in other queries for making Purchase orders, quotation and invoices.
I have been using this structure since last one year. Now some prices have been revised, but what happens is if I edit the price in the table Product, then all the existing records in Purchase Orders and Invoices reflect the edited price. I want to change the price of only future records, not the existing ones. How do I do it ?
There are no relationships as such, as there is only one table which has the price and that is Product table.
My present option is to duplicate all product records except the product number and then change the prices in the duplicated records and start using them instead of the old records, but I would really like to have a permanent solution, as the price change will be very frequent. Thanks for these forums