Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox value in grid
Message
 
 
À
23/09/1998 19:50:27
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00139017
Message ID:
00140493
Vues:
22
>
>You should try to change the value of the underlying field/expression... mmmm, let's try this in your check.click:
>
>Local lcNewValue
>lcNewValue=ChrTran(SUBSTR(repairview.ccheck,chkkey,1), "FT","TF")
>replace repairview.ccheck with stuff(repairview.ccheck, chkkey,1, lcNewValue)
>this.refresh
>nodefault
>
>Things may go odd if the value of ChkKey is !betw(chkkey,1, len(repairview, ccheck)), but then you'd be in trouble as soon as you'd try to display the checkbox, far before ever getting to click it, so I guess there's no need to check it now.

I ended up using a cursor and it's working good now. Thanks, though.

-Michelle
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform