S
Samantha
How can I open Form2 from Form1, select a value for combo box (Combo 2) in
Form2 based on a combo (Combo1) in Form1, and run the AfterUpdate code for
Combo2?
I am able to open Form2 and select a value for Combo2, but can not run the
AfterUpdate code for Combo2.
I tried calling the AfterUpdate sub-routine for Combo2 but without success.
Here's what I have so far.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "COMPANY RETURN ADDRESS ADD CHANGE"
DoCmd.OpenForm stDocName, , , stLinkCriteria
[Forms]![Form2]![Combo2].Value = [Forms]![Form1]![Form1-subform]![Combo1]
Call Combo2_AfterUpdate
Any help is greatly appreciated. Thank you.
Form2 based on a combo (Combo1) in Form1, and run the AfterUpdate code for
Combo2?
I am able to open Form2 and select a value for Combo2, but can not run the
AfterUpdate code for Combo2.
I tried calling the AfterUpdate sub-routine for Combo2 but without success.
Here's what I have so far.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "COMPANY RETURN ADDRESS ADD CHANGE"
DoCmd.OpenForm stDocName, , , stLinkCriteria
[Forms]![Form2]![Combo2].Value = [Forms]![Form1]![Form1-subform]![Combo1]
Call Combo2_AfterUpdate
Any help is greatly appreciated. Thank you.