Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Other Programming Languages (http://www.programmingforums.org/forum38.html)
-   -   Visual Foxpro 6 related... (http://www.programmingforums.org/showthread.php?t=9043)

alphonso Mar 26th, 2006 1:20 AM

Visual Foxpro 6 related...
 
I've got these 3 boxes to deal with: text1, text2, and text3. Text1 is price, text2 is quantity, and text3 is total amount. Text1 has been assigned certain values.

My problem is on text2 and text3. From what I can see, I need to multiply text2(quantity) and text1(price) to get text3(total amount), but I do not know how to do that. I've tried this line:

:

thisform.text3.value=290*text2
, but an error message said that it can't find the variable "text2". Can someone help please?

tke1046 Apr 5th, 2006 11:30 AM

thisform.text3.value = 290 * thisform.text2.value


All times are GMT -5. The time now is 5:13 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC