Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter and grid refresh?
Message
 
 
To
12/02/2001 14:11:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00475037
Message ID:
00475047
Views:
45
>I have a VFP 5.0 form that has a grid. I would like to change the filter in runtime and have the grid reflect the changes. I have tried the set filter command and doing a grid refresh, which does not work. I have also tried setting the dataenvironment filter and doing a grid refresh which does not work. Any help would be appreciated.

Do you force the record pointer to move before you refresh the grid? The filter will not take effect until the record pointer is moved. For example, issuing a LOCATE will force the pointer to the first record (even if it already there) or in this case, the first record that adheres to the filter criteria.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform