CAPITAL And lower case Access recognition

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

Guest

I am unable to get Access to recognize a lower case t and a Capital T. I
need to delete one and keep the other. I must be missing something basic.
 
Keith said:
I am unable to get Access to recognize a lower case t and a Capital
T. I need to delete one and keep the other. I must be missing
something basic.

Text comparisons in Access are normally case-insensitive. You can use
the StrComp function to perform a binary comparison; for example,

DELETE * FROM MyTable
WHERE StrComp(MyField, "t", 0) = 0;

That should delete records where MyField = "t", but not where MyField =
"T".
 

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