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 / November 2005

Tip: Looking for answers? Try searching our database.

How to run a query on a partial name in a field in Access

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Talloulah - 23 Nov 2005 15:30 GMT
What criteria do I need to enter to run a query using wildcards to find a
name within a field but only have a partial name to enter e.g. entering
'health' when the output required is 'Health and Social Care'

As the naming field has more than one entry, the criteria for entry in the
query will need to be entered using wild cards but I cannot get the query to
find all records greater than 'Health'
Rick Brandt - 23 Nov 2005 15:43 GMT
> What criteria do I need to enter to run a query using wildcards to
> find a name within a field but only have a partial name to enter e.g.
[quoted text clipped - 3 lines]
> in the query will need to be entered using wild cards but I cannot
> get the query to find all records greater than 'Health'

For all records beginning with "health"...
WHERE FieldName Like "health*"

For all records containing "health"...
WHERE FieldName Like "*health*"

If you want a self-prompting parameter...
WHERE FieldName Like "*" & [Enter search criteria] & "*"

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

Talloulah - 23 Nov 2005 17:01 GMT
If I run the last query mentioned it still show up no records.  Does it
matter that the field the criteria is for is a multi choice drop down box
with quite a few entries?  All I am trying to do is run a query to find out
the number in each catergory shown in the drop down box.

> What criteria do I need to enter to run a query using wildcards to find a
> name within a field but only have a partial name to enter e.g. entering
[quoted text clipped - 3 lines]
> query will need to be entered using wild cards but I cannot get the query to
> find all records greater than 'Health'
 
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.