Until I read CajunCenturion's post, I thought you would have to write an ActiveX Control in order to do what you are asking. I like the sound of Cajun's Post though, and am interested in going to try out "OWNERDRAW" and subclassing. In my understanding, the problem with the ListBox, is that...
I wonder if you could just build a filter from within your popup form, and apply your filter against the control on your main form?
(Just roughing my idea in here...)
Sub cmdCloseForm_OnClick()
Dim strSQL As String
strSQL = BuildFilterFromControls()
If Len(strSQL) > 0 Then...
I like your idea batteam, and have even used a similar approach myself in a popup subform that was supposed to help find people in the bound main form. In the subform I collected details about the person(s) being saught, and built an SQL "Where" clause and applied that to the filter of the main...
The way I've handled this kind of problem in the past is to build a temporary table from the subform. Set the subform's "Modal" and "Popup" Properties are True, and open the subform modally, so execution of your code waits for the form to close. In the following example, I am using DAO as my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.