Thanks for looking and trying to help me. See attached picture of a database I made for my dad.
When my dad changes customer or vehicle data, I need it to automatically update the lists in the search boxes at the bottom.
The lines I've been working along are:
1. I think its the Requery function I need to use. Something like:
Combo25.Requery
2. I have managed to get it to requery the Search by Name combo box using the AfterUpdate command on the main form.
The problem is, when I try to specify an AfterUpdate on the subform, it can't find the combo box. I think this is because its on the main form!
If my deductions are correct, how do I get it to update the search by reg combo box on the main form after I have changed data in the subform?
Many thanks in anticipation of the answer.
When my dad changes customer or vehicle data, I need it to automatically update the lists in the search boxes at the bottom.
The lines I've been working along are:
1. I think its the Requery function I need to use. Something like:
Combo25.Requery
2. I have managed to get it to requery the Search by Name combo box using the AfterUpdate command on the main form.
The problem is, when I try to specify an AfterUpdate on the subform, it can't find the combo box. I think this is because its on the main form!
If my deductions are correct, how do I get it to update the search by reg combo box on the main form after I have changed data in the subform?
Many thanks in anticipation of the answer.
Attachments
Last edited: