Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter Problem
Message
From
01/08/2002 07:36:20
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00684871
Message ID:
00684888
Views:
20
Hi John

$ cannot be rushmore optimized. It would be a little better if you did ...

cSearch = upper(alltrim(m.cSearch))
SET FILTER TO cSearch $ alltrim(upper(name))

This goes for the SQL suggested by Manoj too.

>I am using the following code to set a filter of a table which then display the results in a list box.
>
>SET FILTER TO ALLTRIM(UPPER(csearch)) $ ALLTRIM(UPPER(Name)) IN Customer
>
>If there is only one record that matches the filter it works ok but if there are more that one a wait window pops up saying Filter cleared and the list box goes grey.
>
>Any ideas.
>
>Also the above code is not rush more optimised is there a better way.
>
>John
Previous
Reply
Map
View

Click here to load this message in the networking platform