Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
returning proper value from textbox in search form
Message
 
To
26/05/1998 09:36:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00101895
Message ID:
00101930
Views:
11
Hi Sheena,

>When the user enters a name i.e. "o'keefe" if returns nothing and if they enter okeefe I get my data displayed, therefore it's too restrictive. I need my data to display if they enter o'keefe, okeefe
>or o keefe. Also I'd like it to display all data for names beginning with a particular letter.

Have a look at the SOUNDEX function. For example searching for all records with 'Okeefe' will return all the 3 records.

Info:
SOUNDEX( ) returns a four-character string. By comparing the results SOUNDEX( ) returns for two character expressions, you can determine if the two expressions are phonetically similar, indicating that they sound alike. SOUNDEX( ) isn’t case sensitive and generally disregards vowels.
Previous
Reply
Map
View

Click here to load this message in the networking platform