G
Gary Roach
how do i set case sensitivity on in access? i want to search on case
sensitive data. thanks for the help,
gary
sensitive data. thanks for the help,
gary
Ken Snell said:You'd need to use a different approach. For your example:
WHERE Left([fieldA], 1) = Chr(65)
If you wanted lower case "a":
WHERE Left([fieldA], 1) = Chr(97)
If you wanted to duplicate "Like '*a*'":
WHERE InStr(1, [fieldA], Chr(97), 0 ) > 0
and so on.
--
Ken Snell
<MS ACCESS MVP>
Gary Roach said:But what about doing the comparison in SQL to make use of wildcards. I want
to use somthing like:
... WHERE fieldA Like "A*";
then
the character
Ken Snell said:You'd need to use a different approach. For your example:
WHERE Left([fieldA], 1) = Chr(65)
If you wanted lower case "a":
WHERE Left([fieldA], 1) = Chr(97)
If you wanted to duplicate "Like '*a*'":
WHERE InStr(1, [fieldA], Chr(97), 0 ) > 0
and so on.
--
Ken Snell
<MS ACCESS MVP>
Gary Roach said:But what about doing the comparison in SQL to make use of wildcards. I want
to use somthing like:
... WHERE fieldA Like "A*";
then
the character