Solved Set combo box value after closing another form

accessonly11

Member
Local time
Today, 11:10
Joined
Aug 20, 2022
Messages
91
hi guys,
how it is possible that when user add a new customer name and mobile number, and click on save/close button on AddNewCustomer form, it save the record, then close form, and then set combo box value of customerID on main form which is newly entered.
1662529693815.png
 
i tried this in AddNewCustomer form Unload event, and working for me

Private Sub Form_Unload(Cancel As Integer) Forms!Orders!CustomerID = CustomerID End Sub
 

Users who are viewing this thread

Back
Top Bottom