Solved

Querying for *

Posted on 2014-02-05
4
138 Views
Last Modified: 2014-02-07
I am trying to query for the * symbol within records and am having trouble with the usual way I would do this since the * is part of like "*(some value)*" that I would usually use. Any ideas?  Thanks!
0
Comment
Question by:daisypetals313
  • 2
  • 2
4 Comments
 
LVL 35

Expert Comment

by:mvidas
ID: 39836592
You should be able to query for [*] to find the literal asterisk instead of the wildcard.
Matt
0
 

Author Comment

by:daisypetals313
ID: 39836638
The * is mixed in with other characters so I need the like part
0
 
LVL 35

Accepted Solution

by:
mvidas earned 500 total points
ID: 39836653
What about using     *[*]*     in the Like. In the past I've written it as "*" & "[*]" & "*" to make it easier to understand later, but either should be good for what you need.
0
 

Author Closing Comment

by:daisypetals313
ID: 39841482
Thanks! I used *[*]* and it worked perfect.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question