Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error with ControleSource
Message
De
24/03/1999 09:32:12
 
 
À
24/03/1999 09:29:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00201411
Message ID:
00201412
Vues:
30
>Hello,
>
>I have a problem with the ControlSource. Why the Column.ControlSource and the TextBox.ControlSource don't do the same thing.
>
>If I write:
>
>Thisform.grid1.Column1.ControleSource = "ATable.AColumn + ATable.OtherColumn"
>
>Or
>
>Thisform.grid1.Column1.ControleSource = “UPPER(ATable.Acolumn)”
>
>
>This works.
>
>If I do the same thing with a TextBox.ControleSource I receive an error message.
>
>Why?
>
>It's there a solution to avoid the error message or a function that do the same thing as a Column.ControlSource.
>
>Thank you for the answer.

VFP expects to have the same controlsource for both column and its control. When you set column.controlsource you actually set it for both. Why is column.controlsource not sufficient for you?
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform