G
GitarJake
Hello all,
In building a query, I use:
Not Like *mystring*
if mystring may be part of a larger string. Access then converts the
criteria to:
Not Like "*mystring*"
And I use:
<>mystring
if I am searching on a field that might contain mystring. Access then
converts the criteria to:
<>"mystring"
But I am to exclude a string that already has quotes (i.e: "-"). When I
enter <>"-" Access sees the criteria syntax as correct and doesn't filter
the data. How do I phrase the criteria to exclude fields that are already
wrapped in quotes?
Any thoughts?
TIA
Jake
In building a query, I use:
Not Like *mystring*
if mystring may be part of a larger string. Access then converts the
criteria to:
Not Like "*mystring*"
And I use:
<>mystring
if I am searching on a field that might contain mystring. Access then
converts the criteria to:
<>"mystring"
But I am to exclude a string that already has quotes (i.e: "-"). When I
enter <>"-" Access sees the criteria syntax as correct and doesn't filter
the data. How do I phrase the criteria to exclude fields that are already
wrapped in quotes?
Any thoughts?
TIA
Jake