Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Textbox.ControlSource
Message
From
28/05/1999 08:00:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/05/1999 06:19:15
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00223864
Message ID:
00223888
Views:
22
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform