Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Checkboxes in a Grid
Message
From
13/01/2004 05:22:12
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00866018
Message ID:
00866274
Views:
28
It strikes me that your field modacad.key4 is not actually logical, as you have the clause: "WHERE modacad.key4<>'TECHNICAL'" and that's the one you're binding to the checkbox in the grid. Did you add it to your source table on advice in the previous thread? I don't know if key4 is the field you want to be checked but, if you just want a check field for data selection then I suggest:

SELECT key3, key4, moc011, mochk009, .F. as MYCHECKFIELD ;
FROM "U:\Data\modacad.dbf" ;
WHERE modacad.key4<>'TECHNICAL' ;
ORDER BY key3 ;
INTO CURSOR result readwrite

and bind MYCHECKFIELD to the checkbox.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform