Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form does not release
Message
 
 
À
16/01/2003 06:13:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00740845
Message ID:
00742383
Vues:
20
This message has been marked as the solution to the initial question of the thread.
Ernest,

Using a checkbox in a grid is very easy. You can simply add a logical field:
select .f. as purge, * ;
   from TheRealTable ;
   into cursor Purge readwrite
Bind the checkbox to the purge column and then you can scan the cursor and do the real work against the real table based on the PK.

>David, the .clear does not help and .removeobject does not help either. The reason I decided on the listview is because it is easy to add a checkbox to the listview that is not bound to any fields in the table and can be used as a final selection within the selected criteria in the listview i.e. to purge/archive records. I think, (I never tried) that in a VFP-grid it is more difficult to use an unbound checkbox. Thanks.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform