Computing.Net > Forums > Database > query to search table in access 200

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

query to search table in access 200

Reply to Message Icon

Name: serealkiller
Date: March 4, 2009 at 12:12:28 Pacific
OS: Windows 7
Subcategory: General
Comment:

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 Sub

This 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



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


database backup bios password



Post Locked

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


Go to Database Forum Home


Sponsored links

Ads by Google


Results for: query to search table in access 200

Import Multiple *txt in Access www.computing.net/answers/dbase/import-multiple-txt-in-access/41.html

New column in Access using macro www.computing.net/answers/dbase/new-column-in-access-using-macro/418.html

Add records to .dbf database thru MS Access www.computing.net/answers/dbase/add-records-to-dbf-database-thru-ms-access/605.html