As wgm says, subforms load first. Suggest you
- try opening the main form, which will automatically load your subforms, then on the latest main form event (Current) set the subform control values. If the main form contains navigation controls, likely the current event is the one you'd need so that this occurs on every record. Also, the link Master and Child fields should take care of this. Did you set those properties?
- or if those subform fields are bound, try refreshing the subforms
- or open the main form, allow that to retrieve the data for the bound main form fields, then assign the subform control source to the desired subform. That will load the subform after the main form. The main form event could be Current or Load, I think.
Last edited by Micron; 03-20-2021 at 05:13 PM.
Reason: clarification
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.