Link to home
Start Free TrialLog in
Avatar of 4charity
4charity

asked on

Update Control on One subform with value from another Subform

I have 2 subforms on a form, frmInvoiceDetail1.

They are:
frmVendor_ClaimDropDown and frmRunningAmtsInv.
When the [VendorName] on the first form is populated, I would like to populate the [Vendor] control on the second.

I am not sure where to set this event, so that it consistently works. Right now, I have code set on the After Update event on the [VendorName] control.
This is the line of code I am using:

Forms![frmInvoiceDetail1]![frmRunningAmtsInv].Form![Vendor] = Me.VendorName
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Are you saying your code is not working?
Are you getting any error message?
Are you sure the code is running- add in a msgbox to check.
ASKER CERTIFIED SOLUTION
Avatar of caity
caity

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial