I've just been looking over several fora to find my basic bearings on the Not in List event and the way to make it work. To be homest I have an issue, and I can't find the solution. Just the basics:
I have a form with two comboBox's, 1st for Company, 2nd for Client name.
I want to filter the second with a Like "* part of cmb B *" for the second and I think I can do that, but that's a later worry.
For each combobox I have the NotInList on Form A event set to open the form to add the new company data, starting with the basic data from Form A cmb B. After that I want to go back to the calling form and requery the combobox. just in details:
I have form A with combobox B, this calls Form X. After completing X, I have to close X, come back to form A, requery combo B, set focus to Combo B and dropdown.
What events on what object in what order do I have to set?
To give you a head start, I think I have to start on From A, cmb B, not in list event!
I have a form with two comboBox's, 1st for Company, 2nd for Client name.
I want to filter the second with a Like "* part of cmb B *" for the second and I think I can do that, but that's a later worry.
For each combobox I have the NotInList on Form A event set to open the form to add the new company data, starting with the basic data from Form A cmb B. After that I want to go back to the calling form and requery the combobox. just in details:
I have form A with combobox B, this calls Form X. After completing X, I have to close X, come back to form A, requery combo B, set focus to Combo B and dropdown.
What events on what object in what order do I have to set?
To give you a head start, I think I have to start on From A, cmb B, not in list event!