Hi All,
I am having a quick problem that I was hoping someone could assist me with. I have been searching through the Tek-Tips site for about an hour now and I have not found anything to what I need.
I have a combobox that has an AfterUpdate function that find data on my form based on the record that I choose. You know the basic ComboBox wizard code. I also have a dropdown command for this combo box on the 'OnChange' event. The problem is that when I use my mouse to select the item in the combo box AFTER I have serched using the dropdown via the keyboard, the dropdown list will not go away. I beleive this is becuase I told it to drop down on the 'OnChange' event, and it is constently changing therefore constantly dropping down.
I am not sure what event to put this under. I was also wondering if there is an 'anti' dropdown command to do the opposite.
It would be great if someone could help out,
Thanks,
Emma
I am having a quick problem that I was hoping someone could assist me with. I have been searching through the Tek-Tips site for about an hour now and I have not found anything to what I need.
I have a combobox that has an AfterUpdate function that find data on my form based on the record that I choose. You know the basic ComboBox wizard code. I also have a dropdown command for this combo box on the 'OnChange' event. The problem is that when I use my mouse to select the item in the combo box AFTER I have serched using the dropdown via the keyboard, the dropdown list will not go away. I beleive this is becuase I told it to drop down on the 'OnChange' event, and it is constently changing therefore constantly dropping down.
I am not sure what event to put this under. I was also wondering if there is an 'anti' dropdown command to do the opposite.
It would be great if someone could help out,
Thanks,
Emma