Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text field
Message
From
10/09/2002 10:36:18
Andrew Fell-Gordon
Calypso Publications Ltd
Enfield, United Kingdom
 
 
To
10/09/2002 10:02:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00698756
Message ID:
00698794
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
My preferred way would be to create a subclass of a textbox. This would have no control source but would have custom SetValue and SaveValue methods.
The SetValue would be called from the Form's Refresh method and it reads the value from the database, converts it to $US and puts the result in the value property. if you do this, make sure that you put a dodefault() in the Refresh method otherwise the rest of the form won't undate. In the InteractiveChange event of the textbox call the SaveValue method. This will calculate the $CAN from the Value property and update the database with it.

Andrew
Previous
Reply
Map
View

Click here to load this message in the networking platform