Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Divide in the value of a text box
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Divide in the value of a text box
Miscellaneous
Thread ID:
00952624
Message ID:
00952624
Views:
49
I need to do some calculations for the screen only. I have put a text box on the screen and add or substract values fine. Once I try divide I get a data type mismatch error.

thisform.total.value = thisform.txtbox1.value + thisform.txtbox2.value works fine.
thisform.total.value = thisform.txtbox1.value / thisform.txtbox2.value gets data type mismatch error.

I have even tried using variables to do the math then display in the text box, still no luck.

My data is in an array, do I have to add the value from there then display in my text box....

Thanks.
Jules
Next
Reply
Map
View

Click here to load this message in the networking platform