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 Mike Lewis 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 keyword search...

Status
Not open for further replies.

fireballs

MIS
Nov 4, 2003
3
0
0
CA
Dear Experts,

How can i make a search button which actually find keyword enter, Let say i have a topic field the data type is memo then this is a praragraph data entry, for example i want to find a word networking then all topics that have networking match will appear. How can i do this...

pls help me..

fireballs
 
I've not actually done this for multiple keywords, but SQL can do it.
I think what you want to do is to create a new recordset which is filtered based on criteria you specify in an SQL statement.
For example
Select * from tblTable
Where fldField LIKE '*Keyword*'

I suppose if you needed multiple keywords then the where clause would be

Where fldField like '*Keyword*' or fldField like '*OtherWord*'

If you don't know SQL then is excellent

Depending on what you want to do, you may need to clone the existing recordset using the clone method before you apply your filter

Hope this helps
Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top