Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox value in grid
Message
From
24/09/1998 14:05:49
 
 
To
23/09/1998 19:50:27
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00139017
Message ID:
00140493
Views:
21
>
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform