What function can help to find * in a table?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a table that the users sometimes mistakenly input asterisk * in a text
field. How can I find out the error data?
 
You can find the * character by enclosing it in [ ] characters within a text
string:

SELECT * FROM TableName
WHERE [FieldName] Like "*[*]*";

--

Ken Snell
<MS ACCESS MVP>

"What to find * in an access table?" <What to find * in an access
[email protected]> wrote in message
news:[email protected]...
 
Thanks a lot.

Ken Snell said:
You can find the * character by enclosing it in [ ] characters within a text
string:

SELECT * FROM TableName
WHERE [FieldName] Like "*[*]*";

--

Ken Snell
<MS ACCESS MVP>

"What to find * in an access table?" <What to find * in an access
[email protected]> wrote in message
I have a table that the users sometimes mistakenly input asterisk * in a
text
field. How can I find out the error data?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top