What function can help to find * in a table?

  • Thread starter What to find * in an access table?
  • Start date
W

What to find * in an access table?

I have a table that the users sometimes mistakenly input asterisk * in a text
field. How can I find out the error data?
 
K

Ken Snell [MVP]

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]...
 
W

What to find * in an access table?

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?
 
Top