Both sets of code are unentered (not taken from your project). Please ensure that you enter the code into your project first before copying it in here. You're clearly not experienced enough to type straight from your head and get it in a reliable form, and this can waste a lot of our time (and ultimately yours too of course). Furthermore, I asked you to post what you're currently using. As this is just some stuff you've typed out it is clearly not what was requested. However, I'll comment on what's here as it may even help (I can certainly see some problems with it).
Your first bit of code is mainly comment lines, so that can be ignored.
The second bit is trying to set the filter relative to the form though. This is a misunderstandin g. It needs to refer to the recordsource that the form is built on (bound to). Generally though, it can remain unqualified (See suggested code below). It also needs a .Requery when it's set (I believe). If the field in the recordsource is [MinName], then it should be something like :
In the second bit of code you're setting the record source to the Filter value. This makes no sense.
Try the suggested code and see what you get.
Your first bit of code is mainly comment lines, so that can be ignored.
The second bit is trying to set the filter relative to the form though. This is a misunderstandin g. It needs to refer to the recordsource that the form is built on (bound to). Generally though, it can remain unqualified (See suggested code below). It also needs a .Requery when it's set (I believe). If the field in the recordsource is [MinName], then it should be something like :
Code:
Private Sub cmbMinistryName_AfterUpdate() Dim strFilter As String With Me.SubForm.Form ' This assumes Handle is a text field strFilter = "[MinName] Like '" & Me.cmbMinistryName & "*'" .Filter = strFilter .FilterOn = True Call .Requery End With End Sub
Try the suggested code and see what you get.
Comment