Sometimes when you at the early stages of the learning process, you don't have the vocabulary necessary to formulate an intelligible question.
I have a form with comboboxes and subform-pivot charts. Changes made to the comboboxes are reflected in the pivot charts... kind of a poor man's data analysis tool.
The way that I am updating my charts is by using requery statements. One statement for every chart.
I have been triggering the updates OnChange in each combobox.
The net effect is that you select from the combobox and then you tab to the next combobox.
This works fine for comboboxes, but for textboxes... I am having more problems.
I set a flag true in the OnChange event. If the flag is set, I perform requeries to update the charts in the OnLostFocus event for the textbox.
However, I do not know how to set focus to the next combobox, so the net effect is that I have to hit tab twice to go to the next box.
How do I set focus to the next item in the tab sequence in vba?
are just learning, you don't
I have a form with comboboxes and subform-pivot charts. Changes made to the comboboxes are reflected in the pivot charts... kind of a poor man's data analysis tool.
The way that I am updating my charts is by using requery statements. One statement for every chart.
I have been triggering the updates OnChange in each combobox.
The net effect is that you select from the combobox and then you tab to the next combobox.
This works fine for comboboxes, but for textboxes... I am having more problems.
I set a flag true in the OnChange event. If the flag is set, I perform requeries to update the charts in the OnLostFocus event for the textbox.
However, I do not know how to set focus to the next combobox, so the net effect is that I have to hit tab twice to go to the next box.
How do I set focus to the next item in the tab sequence in vba?
are just learning, you don't