I have fairly simple database.
2 tables:
PriceTBL
SalesTBL
PriceTBL is used to store pricing and volume data for 5 products. PriceID used as key. SalesID default value set from command button call from SalesFRM.
SalesTBL is used to enter total daily sales for each product type. Other fields include date and location. SalesID used as key.
SalesTBL one to many with PriceTBL.
SalesFRM enters daily sales totals. A command button on the form opens SetPriceFRM and sets the SalesID field in the PriceTBL
What I am trying to accomplish is the ability to change pricing on a product on a given date and have that price used as the default price for the product until another price change without affecting the records with a sales date prior to the price change.
The pricing is used in a number of calculations both on the SalesFRm and in queries and reports.
Tried just about everything but can't quite get there.
2 tables:
PriceTBL
SalesTBL
PriceTBL is used to store pricing and volume data for 5 products. PriceID used as key. SalesID default value set from command button call from SalesFRM.
SalesTBL is used to enter total daily sales for each product type. Other fields include date and location. SalesID used as key.
SalesTBL one to many with PriceTBL.
SalesFRM enters daily sales totals. A command button on the form opens SetPriceFRM and sets the SalesID field in the PriceTBL
What I am trying to accomplish is the ability to change pricing on a product on a given date and have that price used as the default price for the product until another price change without affecting the records with a sales date prior to the price change.
The pricing is used in a number of calculations both on the SalesFRm and in queries and reports.
Tried just about everything but can't quite get there.