Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I select multiple records in the grid?
Message
De
21/01/1999 16:20:37
 
 
À
21/01/1999 16:10:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00178719
Message ID:
00178726
Vues:
31
>Hi all again...
>
>I would like to know how I can select multiple records (probably by highlighting them) in my grid and then click a command button to change the value of one field for those records (For example I want to select a bunch of records and click on a 'CLOSE' button to change the status field of these records to 'CLOSED') instead of doing one by one.
>
>Thanks a lot.

Grid.Recordsource may contain one additional field which will allow to highlight a row (by using DynamicBackColor property). Then multiple change would be simple enough:
REPLACE ALL mystatus With "CLOSED" For lSelected=.T.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform