Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SET FILTER using Non-Case-Sensitive searches

Status
Not open for further replies.

ABQMark

Programmer
Aug 16, 2001
28
US
Howdy guys,

I am using a SET FILTER statement to narrow-down records in my database...When the user inputs the $tring to a field to narrow down, eg. SET FILTER to lname $ "GEER"

The records might contain "Geer","geer",GEER".......

The above SET FILTER pulls out "GEER" and not the others.

I have also SET EXACT OFF because, sometimes they don't have to type the whole search $tring.

an someone tell me how to eliminate this case-sensitivity issue?

If I send lname="GEER", I need to search for ALL possible combinations...Do I need to do a...

SET FILTER TO UPPER(LNAME) $ "GEER"....yikes!

It would be nice to have a SET CASE OFF


Thanks,

Mark Geer
 
there is no set case clause that i know of
SET FILTER TO UPPER(LNAME) $ "GEER"
would work fine




 
SET CASE probably not exist,
but to filter geer etc, rather write
SET FILTER TO "GEER" $ UPPER(LNAME),
as former select also "g", "ee", etc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top