I am getting stuck with this problem.
I ‘m selling a single product to my customers. The price I quote to each customer, is bound to remain the same for very long periods. For this reason a decided to add “price” as one of the fields of the table TblCustomers.
I have another table, TblSalesDetails , containing, among the others, the fields Date, QuantitySold, SaleAmount.
I have created a form F_SalesDatails, based on customers, with the control “price” on the main form and with a subform, SF_SalesDatails , showing the same fields of TblSalesDetails .
Now my problem. When I put data in the fields Date and QuantitySold of SF_SalesDetails I need the control SaleAmount to be automatically calculated. Unfortunately if I change the price in TblCustomers all previous records of SF_SalesDetails are recalculated at the new price so that I am unable to keep track of the previous transactions at different prices.
How can I get around this problem? Hope someone can help.
I ‘m selling a single product to my customers. The price I quote to each customer, is bound to remain the same for very long periods. For this reason a decided to add “price” as one of the fields of the table TblCustomers.
I have another table, TblSalesDetails , containing, among the others, the fields Date, QuantitySold, SaleAmount.
I have created a form F_SalesDatails, based on customers, with the control “price” on the main form and with a subform, SF_SalesDatails , showing the same fields of TblSalesDetails .
Now my problem. When I put data in the fields Date and QuantitySold of SF_SalesDetails I need the control SaleAmount to be automatically calculated. Unfortunately if I change the price in TblCustomers all previous records of SF_SalesDetails are recalculated at the new price so that I am unable to keep track of the previous transactions at different prices.
How can I get around this problem? Hope someone can help.
Comment