Good morning,
I have a main form [frmMain] with a listbox on it. I have 3 subforms [subfrmWORKSPEC], [subfrmCFR], [subfrmRCC]. I have been able to connect the listbox to all three subforms via Master/Child fields. When I select an item in the listbox, all three subforms react accordingly and filter to the selected ID in the listbox.
What I'd like to do is this:
field [WorkSpec] is a field on all three subforms. I'd like to be able to select the [WorkSpec] field on [subfrmWORKSPEC] and have the other two subforms get filtered based off the text field [WorkSpec]. I just can't seem to get this to work.
I added a textbox on the main form and called it txtWorkSpec and I set it's control source to =[subfrmWORKSPEC].[Form]![WorkSpec]. When I select [WorkSpec] on the frmWORKSPEC, the txtWorkSpec box changes to match that field so that part is working.
How do I get the other two subforms to filter on [WorkSpec] based off of the txtWorkSpec field? I can't seem to figure out the correct VBA combination to make this happen. Thanks for your help.
Soup