Hi
I have a Form frmInvoice with controls that are bound to a Table tblInvoice.
As well as the controls that are bound to tblInvoice frmInvoice also has 3 other controls PartName, UnitPrice, SerialNo that are bound to a separate Table tblParts. In order to populate these three controls I am using a Combo where the user selects the PartName required and the UnitPrice and SerialNo controls are populated. This works so long as the UnitPrice does not change.
The problem I have is that as time goes by the UnitPrice will change. I would like to freeze the UnitPrice control value of each record at transaction time so that when the UnitPrice changes in tblPats over time it will not be reflected in all the previous records that have been saved with the previous UnitPrice. I have used separate tables to try to adhere to Normalization rules as much as possible.
The Query behind the Combo reads as follows: SELECT Parts.PartsID, Parts.PartName FROM tblParts ORDER BY [PartName];
The Control Source of the Combo is a foreign key to tblParts fkPartsID
And the Relationship between tblParts and tblInvoice is One-To-Many i.e One Part can have many Invoices.
ViRi