UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

> expression for a few string scenarios    
 
   
ski2sun
post Feb 1 2006, 09:57 PM
Post #1

UtterAccess Addict
Posts: 298
From: East Coast



I am trying to query to find the following. Table: Customer, Field: Business

a. any instance in field where upper case in any part of field that has the string "GO", upper case ony. That is, anything with AGO, GONE or A GO A, -GO- but NOT Gone, or A Go A or AGo, etc.

b. Same as above, but all lowercase string, go, gol, agol, but not Again, Trailer

c. Any instance where field as that does not follow Proper Case of Title Case. That is PrI, -TRl, TrAil/Camp, or PriN or TRail, etc., but not Print, Trail

d. Also how to find anything in Business that is ENTIRELY ALL UPPERCASE, with or without numbers in included

e. Same as D, but anything in Business that is entirely all lowercase, with or without numbers included.



What would be the appropriate
Go to the top of the page
 
+
 
Start new topic
Replies (1 - 1)
R. Hicks
post Feb 1 2006, 10:08 PM
Post #2

UA Forum Administrator
Posts: 38,073
From: Birmingham, Alabama USA



Use the Instr() function and utilize the Compare argument within the function.
This argument can be invoked to compare "binary" which will evaluate the characters as Upper or Lower case as you desire ...

RDH
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 23rd May 2013 - 04:25 AM