Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command button in grid
Message
De
23/11/2005 04:21:23
 
 
À
23/11/2005 03:46:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01071465
Message ID:
01071499
Vues:
23
I don't have the chance to test it, but you can replace controlsource with the name of the field, if it's only used once. =!Empty(yourtable.yourfield). Note the !.

BTW, I gave you a misleading tip. This.controlsource will point to the name of the field, which will never be empty. !Empty(Evaluate(this.controlsource)) or !Empty(Evaluate(this.parent.controlsource)) should work, if you put it in the visible property of the commandbutton. And remember to remove or make invisible the default textbox in the column.

>OK
>I found the place for code but I got a 'syntax error' message by the expression builder.
>I tried this 3 option and I got alwais the message:
>
Empty(this.controlsource)
>!Empty(this.controlsource)
>=!Empty(this.controlsource)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform