Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filter and grid refresh?
Message
 
 
À
12/02/2001 14:11:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00475037
Message ID:
00475047
Vues:
43
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform