Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make search more effective?

Status
Not open for further replies.

longmatch

Programmer
Nov 1, 2001
406
I have a disgnosis table with 13600 records in my access database. I would like to allow user to search any words and return the records with the words users searched. How can I do this?

Thank you

Haijun
 
Well, the simplest way to do this (I think) would be to use the findrecord method of the docmd object. I copied the following syntax from the help files:

DoCmd.FindRecord findwhat[, match][, matchcase][, search][, searchasformatted][, onlycurrentfield][, findfirst]


Set onlycurrentfield to acAll.
 
Do you have any example for this kind search?

Big thanks

Haijun
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top