Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check box value
Message
De
06/12/2004 05:38:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/12/2004 05:05:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
00967070
Message ID:
00967075
Vues:
8
>Help please!
>I have a check boxes in one of my culumns in grid.
>I want that the value will be .t./1 or .f./0, but most of the check boxes in the grid is full with square.
>When I press on the square I get value .f./0, pressing agin giving the value .t./1.
>It's more strange since it's only in most of the check boxes.
>I did a command button calld 'Mark all' with the following code:
select crsrgrid
>scan
>	replace crsrgrid.tochange with .t.&&crsrgrid is the record source of the grid.
>endscan
>thisform.cmlaborig.refresh()
, but there is not any change in the grid.
>What can I do?

Chaim,
Instead of scan..replace..endscan :

select crsrGrid
replace all tochange with .t.

or:
update crsrGrid set tochange=.t.

Is that a readwrite cursor? Did you make sure checkbox is visible (you seeing it doesn't mean it's - ie: added with addobejct but not set vsible=.t.)?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform