Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Putting a decimal in programmatically
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00150068
Message ID:
00150077
Views:
17
>it's embarrasing to see how simple that answer is - i was looking for the answer by a much more complicated means. i guess the simplest answers are always the hardest to see.
>Thank you for your help.

Be careful with this - if you tab through this you COULD end up with your value being divided by 100 repeatedly. You may prefer to NOT have the field value as the controlsource. In the WHEN clause, set This.value = MyField*100 and in the LostFocus say REPLACE MyField with This.value/100.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform