Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / February 2008

Tip: Looking for answers? Try searching our database.

Searching for text

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
scubadiver - 25 Feb 2008 13:29 GMT
I would like to search for the word "and" in a query. How is it done?

cheers
John Spencer - 25 Feb 2008 13:51 GMT
By using wild cards.  To find records where the word "and" exists in a
specific field you would use something like the following.

Field: Expr1:  " " & YourFieldName & " "
Criteria: Like "* and *"

Note that I have added a space before and after the field.  This is so you
can find matches on just AND and not on hANDle,  rANDom, etc and so that if
your text begins with AND or ends with AND, you will pick up those records
also.

Signature

John Spencer
Access MVP 2002-2005, 2007-2008
Center for Health Program Development and Management
University of Maryland Baltimore County
.

>I would like to search for the word "and" in a query. How is it done?
>
> cheers
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.