Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To get value grid checkbox without column
Message
 
 
À
08/06/2010 10:54:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01467896
Message ID:
01467918
Vues:
40
>I dont have the logical column in the table.
>The grid checkbox column is temp for the query.
>>>Hi
>>>Help please
>>>
>>>I have grid that record source is (alias of) table .
>>>I added on the grid another column for checkbox (recordsource="",sparse=.f.).
>>>
>>>How can I run somethings like "select * from myaliastable where grid.colcheckbox=1"?
>>>
>>>Tnx
>>
>>
llValue=yourgrid.column9.colcheckbox.value
>>Select * from yourtable where yourfield=llValue
select *, .F. as Checked from myTable into cursor csrGrid readwrite

And use this cursor as grid's recordsource.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform