Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Filter on listbox
Message
From
15/12/1997 09:06:02
 
 
To
15/12/1997 08:58:29
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00065892
Message ID:
00065897
Views:
37
>I have a VFP5 form that contains a Grid control. One of my routines sets a
>FILTER and refreshes the Grid just fine.
>
>However, I changed the control to a Listbox and when I SET FILTER TO ,
>the Listbox shows the results for about a second and then goes blank. I check
>FILTER() and it returns nothing like the filter was not set and
>when I tab to the Listobx, the Listbox shows every record and ignores the filter.
>
>Can you set a filter and have the results shown in a VFP5 Listbox?
>
>Thanks,
>
>Jerry Tovar

After you set a filter on List.Rowsource, you should issue List.Requery to bring up new contents.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform