Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Mark column whith checkbox in a grid
I'm working to make a grid for an application, where I can select some records by clicking a checkbox in a grid. I figured out how to put a checkbox in a grid.
Now i want an array containing the recordnumbers i have ticked in the grid. When I de-tick a checkbox in the grid i whant to remove the record number from the array. But when I bind:
=iIf( ASCAN( aRecs, RecNo() ) = 0,.F.,.T.)
to the controlsource of the checkbox column the grid blanks when I want to run it. What's wrong and how can i solve it ?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement