Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 26th, 2006, 12:20 AM   #1
alphonso
Programmer
 
Join Date: Dec 2005
Location: Philippines, where the seasons are: hot, and hotter
Posts: 72
Rep Power: 3 alphonso is on a distinguished road
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?
alphonso is offline   Reply With Quote
Old Apr 5th, 2006, 10:30 AM   #2
tke1046
Newbie
 
Join Date: Apr 2006
Posts: 1
Rep Power: 0 tke1046 is on a distinguished road
thisform.text3.value = 290 * thisform.text2.value
tke1046 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:43 PM.

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