Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT Statement
Message
 
To
31/05/2001 07:28:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00513062
Message ID:
00513071
Views:
14
>I have a select statement that needs to search for the nearest matches in a talbe. If the user enters "T" in the search field, then the select statment to select all those records that begin with T. Set near is ON, Set Exact is Off. But what happens is that all the records that begin with T show up but so does everything after T, names with U, V,W, X, Y,Z....can anyone assist?

Try SET KEY TO 'T' RANGE 'Tz'

Never tried this on SELECT, but I think it works there too.
It scopes to a "filter" on the given range, and uses the concerning index (yep, which you must have).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform