>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.
>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