?
Solved

Querying for *

Posted on 2014-02-05
4
Medium Priority
?
143 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

862 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