Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Checkboxes in a Grid
Message
De
13/01/2004 05:22:12
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00866018
Message ID:
00866274
Vues:
27
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform