Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am trying to create a search function in a form.
it wil search the specified table and return the results in a subform on the same form.This is the code i am using
Private Sub btnRubriekZoeken_Click()
Me.[OverzichtRubrieken].Form.RecordSource = " SELECT r.rubrieknummer , r.rubrieknaam , r.volgnummer , r.ouderRubriek FROM Rubriek r " & _
" WHERE r.rubrieknaam LIKE '*" & Me.vakZoekRubrieknaam.Value & "*'"
End SubThis same code with a different names ofcourse works in another form but somehow on this form it wil only check the first row of the database and show it if the it meets the search requirement,
help would be appreciated.
maybe it is a setting in access itself that i have to change.thx in advance JB

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |