I have frmParentForm with several controls used to create a filter for frmSubForm.
In frmParentForm_Load, I do (simplified example):
Me.sbfInvoice_List.Form.filter = "[created_on] >= #" & Me.RecentOrderDateCutoff & "#"
Me.sbfInvoice_List.Form.FilterOn = True
The problem is that upon initial loading, it seems that the subformat is loaded first, so the whole table is loaded.
Is there a way (perhaps, in another case) to properly configure the subform filter from the parent form so that it is applied before the slave system loads its source data? (A subform can exist on its own or as a child of many different parental forms (sometimes filtered, sometimes not), so I would prefer not to use some complex hacks in the most subordinate form to accomplish this.)
tbone source
share