The question says it all.
I have a listbox whose rowsource is change programmaticaly. If the control has the focus then I need use me.txtSearch.text when building the rowsource, otherwise I need to use me.txtSearch.value.
How do I determine what control has the focus?
is the control that has focus