BruceFrey
Registered User.
- Local time
- Today, 18:49
- Joined
- Dec 12, 2002
- Messages
- 20
Hello
I want to have a user pick a combo box on a form and once that supplier name is chosen - an after event procedure fills the contents of a field called account number, in the same form, based on the value in a table that corresponds to the supplier name they chose.
Here's what I have now for my after event which I know is incorrect.
Private Sub SupplierNumber_AfterUpdate()
' Update AccountNumber controls based on value selected in SupplierName combo box.
Me!AccountNumber = Me![AccountNumber]
End Sub
Thank you for any help you can provide.
I want to have a user pick a combo box on a form and once that supplier name is chosen - an after event procedure fills the contents of a field called account number, in the same form, based on the value in a table that corresponds to the supplier name they chose.
Here's what I have now for my after event which I know is incorrect.
Private Sub SupplierNumber_AfterUpdate()
' Update AccountNumber controls based on value selected in SupplierName combo box.
Me!AccountNumber = Me![AccountNumber]
End Sub
Thank you for any help you can provide.