Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add a select box in a Grid
Message
De
11/12/2004 06:17:26
 
 
À
11/12/2004 04:37:04
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Divers
Thread ID:
00968478
Message ID:
00968518
Vues:
8
Hi,
I forgot the way to do so. However, you can use byte/integer field since checkbox supports logical and numeric value.
SELECT *, 1 AS lSelected FROM myTable WHERE myLog = ?lcLog
Or, you can run statement below in VFP to make it become logical field after you get result from SQL passthrough.
SELECT field1, field2 ..., 1=1 AS lSelected FROM mySQLResult INTO CURSOR mySQLResult
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform