× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Use SQL to search.  Not only can you do something like:
select custnbr, custname from custmast where custname like %:searchstring%

But you could use the SOUNDEX function so that spelling isn't important 
either.
select custnbr, custname from custmast where custname like %:searchstring% 
or soundex(custname) = soundex(:searchstring)

Probably not the exact syntax, but you get the gist of it.

Rob Berendt
-- 
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





"rpg news" <rpgnews@xxxxxxxxxx> 
Sent by: midrange-l-bounces@xxxxxxxxxxxx
09/10/2004 07:21 AM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
<MIDRANGE-L@xxxxxxxxxxxx>
cc

Fax to

Subject
fast search or scan for words in selected field






Hi,

We currently have customer master file which has customer company name
field. Customer company name field is 20 long, if this field has "MY
TEST COMPANY" description saved then we have another program which will
make three records for this records in our custom file, first records
with their customer number and name  will have "MY" and second record
will have "TEST" and the third record will have "COMPANY". We have to do
this for fast search by any description given by customers.  Our files
are getting huge and want to know if there is another quick way to
handel this on green screen. I thank you for your time.

Wayne


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing 
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.