Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set filter command not keeping condition
Message
From
24/04/1998 15:15:51
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00094742
Message ID:
00094745
Views:
16
>VFP3.0b for Windows.
>
>I have a form with a grid which displays records that are filtered us a SET FILTER TO statement. The first time the form is displayed the filter works properly, but if I use the scroll bars on the grid the filter condition seems to be cancelled and all records from the table are displayed.
>
>There is no code in the grid that removes the filter condition.
>
>Some other info:
>The table is opened before the form is run and stays open after it closes. The filter condition is set before the form is started.
>
>Any ideas?

Do you set filter condition explicitly, like SET FILTER TO Field1=15 , or you use variable SET FILTER TO Field1=nFilter ?
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform