G
Guest
I have 2 Subforms on my Main form.
Each Subform contains a combo box with drop-down list. Their tables are on
the many side of the one-to-many relationship with the Main form.
When I make a selection on Subform 1, Subform 2 automatically populates with
a correlated item from its drop-down list.
PROBLEM: when I make a SECOND selection on Subform 1, the item that was
listed on Subform 2 gets replaced with the item correlating with the SECOND
selection.
How can I adjust my code so that the second item is ADDED to the list on
Subform 2 instead of replacing the first item?
A sample of the code to automatically populate Subform 2:
If InStr(1, Me.Combo1.Value, "Spreadsheet") > 0 Then
Me.Parent![Application].Form.Combo2.Value = "Excel"
End If
Thanks!
Each Subform contains a combo box with drop-down list. Their tables are on
the many side of the one-to-many relationship with the Main form.
When I make a selection on Subform 1, Subform 2 automatically populates with
a correlated item from its drop-down list.
PROBLEM: when I make a SECOND selection on Subform 1, the item that was
listed on Subform 2 gets replaced with the item correlating with the SECOND
selection.
How can I adjust my code so that the second item is ADDED to the list on
Subform 2 instead of replacing the first item?
A sample of the code to automatically populate Subform 2:
If InStr(1, Me.Combo1.Value, "Spreadsheet") > 0 Then
Me.Parent![Application].Form.Combo2.Value = "Excel"
End If
Thanks!