Hi guys,
I have in the past referred to controls on subforms without any issue, however with the new navigation control there does not seem to e a subform to refer to other than NavigationSubFo rm.
I have tried the following:
Me![NavigationSubfo rm]![prjCustomer] = Forms![menu]!cmbCustomer
Me![NavigationSubfo rm]![cCustomer] = Forms![menu]!cmbCustomer
I have also tried:
Forms![Menu]![NavigationSubfo rm]![prjCustomer] = Forms![menu]!cmbCustomer
Forms![Menu]![NavigationSubfo rm]![cCustomer] = Forms![menu]!cmbCustomer
This only works when the subform has the focus i.e. if I am on the Project Overview Subform then the prjCustomer field is updated with the value in cmbCustomer, but the cCustomer field comes up with an error saying it cannot find the field.
If I move onto the Contacts form then the cCustomer field updates with the value in cmbCustomer, but the prjCustomer field comes up with an error saying it cannot find the field.
Essentially I want to have a field on my Navigation Control called cmbCustomer and when I update this I want the value to be written into every Customer field on each of the subforms on the Navigation Control. This is so the user only has to select customer once and all the data entry on the other forms will automatically be updated with the customer name.
Hope that makes sense - any light someone can shed on this would be appreciated.
I have in the past referred to controls on subforms without any issue, however with the new navigation control there does not seem to e a subform to refer to other than NavigationSubFo rm.
I have tried the following:
Me![NavigationSubfo rm]![prjCustomer] = Forms![menu]!cmbCustomer
Me![NavigationSubfo rm]![cCustomer] = Forms![menu]!cmbCustomer
I have also tried:
Forms![Menu]![NavigationSubfo rm]![prjCustomer] = Forms![menu]!cmbCustomer
Forms![Menu]![NavigationSubfo rm]![cCustomer] = Forms![menu]!cmbCustomer
This only works when the subform has the focus i.e. if I am on the Project Overview Subform then the prjCustomer field is updated with the value in cmbCustomer, but the cCustomer field comes up with an error saying it cannot find the field.
If I move onto the Contacts form then the cCustomer field updates with the value in cmbCustomer, but the prjCustomer field comes up with an error saying it cannot find the field.
Essentially I want to have a field on my Navigation Control called cmbCustomer and when I update this I want the value to be written into every Customer field on each of the subforms on the Navigation Control. This is so the user only has to select customer once and all the data entry on the other forms will automatically be updated with the customer name.
Hope that makes sense - any light someone can shed on this would be appreciated.
Comment