I have a situation whereby I need 3 linked forms. This has arisen because of this scenario:
A vehicle will be sent out to several locations, and at each location it will pick up several items. So I need to record:
Load
vehicle details
driver
date of collection
Collection
Customer Site
Collection Items
Item collected
Quantity
So there will be one or many Collections per Load, and one or many Collection Items per Collection.
What is the best way to enter and display these details? Normally I would contemplate using subforms, but with 3 levels this could become unwieldy. Does anybody have ideas or examples of a good solution please
Main Form: Load
Subform 1: Collection (linked to the main Load form)
Subform 2: Collection Items (Linked to the Collection subform, but placed next to or underneath rather than nested in the collection subform)
Code in the Current Event of the Collection subform would be used to control the filtering of the collection Items subform, so that when the user navigates between records in the Collection subform, the Collection Items subform displays those items associated with the currently selected collection.
See the following question for details... the author has uploaded an image illustrating a sample layout, and the author's final post contains the code that makes this work:
https://www.experts-exchange.com/questions/27512608/2nd-and-3rd-Sub-Sub-Form-Not-Working.html