>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao