Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid formatting
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00186188
Message ID:
00186192
Vues:
13
>Simple grid problem that's driving me nuts. I'm trying to disable a column in my grid if a logical field (users.logyes) is .T. I can't get the enabled property to behave. The error I'm getting is "data type is invalid for this property. Any ideas?
>
>llenabled = 'IIF(users.logyes,.F.,.T.)'
>THISFORM.grid1.SETALL("enabled",llenabled,"column")
>
>Thanks,
>
>John.

Suggest you replace llenabled with EVAL(llenabled) in SetAll(). As written it's trying to stuff a string into a logical property.

HTH,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform