Using MS Access/Keeping past records
Hi, my primary table holds the latest configuration of an engine. The engine consists of parts with serial numbers. When these parts are replaced the table keeps the latest configuration. I am looking for a nice way to keep the history i.e. in a year from now to be able to review what serial numbers of parts the engine had in every point of time. Please let me know if you want the relationship table, I can send it if needed, would rather send it to you and not post it. As always, your help would be much appreciated.
How do you replace a part?
The way I would do this, is to add a field. Maybe call it ReplacedWhen or similar. Then when you replace a part you populate the Replaced when field and add a new record for the new part. Maybe even have a ReplacedBy field so you can track what part replaced it. On your main form you can filter for only records where ReplacedWhen is Null so you only see current parts. Same for reports. But if you want to see the full history, then include those records.
Hope this helps,
Microsoft Access MVP 2007
Author: Microsoft Office Access 2007 VBA