Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Textbox.ControlSource
Message
De
28/05/1999 08:00:52
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/05/1999 06:19:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00223864
Message ID:
00223888
Vues:
20
>Why a textbox.ControlSource do not accept an expression like a Column.ControlSource.
>
>Expl. ‘table1.prise1 – table1.prise2’ or ‘UPPER(table1.name)’ is accepted in a column.ControlSource bat not with a textbox.ControlSource.
>
>When I try this with a textbox.ControlSource the ERROR 1742 occur.
>Maybe somebody encountered the same problem and now why textbox.ControlSource do not accept this and has a solution for this problem.
>
>Tanks
When you put that to a column it's a calculated "value". So for textbox leave controlsource empty and set "value". You could do something like :
* prise1 and prise2.textbox.lostfocus
thisform.mytextbox.value = table1.prise1 – table1.prise2
* no need to refresh
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform