lower and uppercaps search (1 Viewer)

Micron

AWF VIP
Local time
Today, 08:21
Joined
Oct 20, 2018
Messages
2,700
No it won't, because the expression only finds capital letters. Upper is just an alias name for the calculated field. To get lower case, you'd need a separate query for Between 97 And 122 or you could try Not Between 65 And 90. I think I'd go with the latter since the only characters that can be upper case are letters from A to Z (assuming this is about English). If you specify 97 to 122 (a to z) you'll omit anything where the value might end in something else, assuming that's even possible.
 

arnelgp

error reading drive A:
Local time
Today, 20:21
Joined
May 7, 2009
Messages
9,286
aside from changing "As [Lower] …"
you also need to change the Where clause:

WHERE (((Asc(Right(Nz(fld2,","),1))) Between 97 And 122));
 

Micron

AWF VIP
Local time
Today, 08:21
Joined
Oct 20, 2018
Messages
2,700
Between 97 And 122
Something wrong with the way I said that?
As I said, that will also eliminate anything that might end in a character that's not from a to z, such as %. "Not Between 65 And 90" won't but will eliminate A to Z which is better, IMO.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top Bottom