• Subject: Re: Case Insensitive Lookup
  • From: "Scott Swaim" <scott@xxxxxxxxxxxxxxxx>
  • Date: Fri, 19 Mar 1999 08:27:18 -0600

I am not the original poster but want to thank all who responded.  The
solution below worked for a problem that just came up for me.

Midrange List - The best resources on the net.

Scott Swaim
scott@qualitycorps.com

(The opinions expressed are not necessarily those of my employer,
unless they are correct.  They would like as much credit as possible.)
-----Original Message-----
From: Bob Crothers <bob@cstoneindy.com>
To: 'MIDRANGE-L@midrange.com' <MIDRANGE-L@midrange.com>
Date: Friday, March 19, 1999 7:13 AM
Subject: RE: Case Insensitive Lookup


>Glen,
>
>In your logical file at the file level, add ALTSEQ(QSYSTRNTBL).  Below
>is an example.  This will provide a case insensitive key.
>
>     A
>                                                ALTSEQ(QSYSTRNTBL)
>     A
>     A          R MIDRNGR                   PFILE(MIDRNGP)
>     A
>     A          K COMPNY
>     A          K CONTCT
>
>
>Bob
>
>-----Original Message-----
>From: Glenn Gordon [SMTP:glenn_gordon@wcg.org]
>Sent: Thursday, March 18, 1999 7:34 PM
>To: MIDRANGE-L@midrange.com
>Subject: Case Insensitive Lookup
>
>I'm trying to provide a case insensitive lookup for a database key
>field
>containing both upper and lower case.  The user, by typing:
>
>FLINTSTONE, FRED
>
>should be positioned to:
>
>Flintstone, Fred
>Flintstone, Wilma
>etc.
>
>Using the normal collating sequence, this would position beyond all of
>the F's.
>How can this be done without changing the actual data to upper case or
>creating
>an additional field containing the upper case version.
>
>There must be a simple way to do this...
>
>Thanks for any help you can provide!
>
>Glenn
>
>+---
>| This is the Midrange System Mailing List!
>| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
>| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
>| To unsubscribe from this list send email to
>MIDRANGE-L-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator:
>david@midrange.com
>+---
>
>+---
>| This is the Midrange System Mailing List!
>| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
>| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
>| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator:
david@midrange.com
>+---
>

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].