|
-
Dec 24th, 2005, 06:43 AM
#1
Thread Starter
Lively Member
[RESOLVED] Calculations in Textboxes
Salute to all the Guru,
Lets say,
I have 2 Textboxes presentstock.text and consumed.text
i want to minus consumed.text (value) from presentstock.text
i wrote
VB Code:
presentstock.text = val(consumed.text) - val(presentstock.text)
but its not working 
Need Help;
-
Dec 24th, 2005, 07:28 AM
#2
Re: Calculations in Textboxes
 Originally Posted by Plucky
Salute to all the Guru,
Lets say,
I have 2 Textboxes presentstock.text and consumed.text
i want to minus consumed.text (value) from presentstock.text
i wrote
VB Code:
presentstock.text = val(consumed.text) - val(presentstock.text)
but its not working
Need Help;
What is not working about it?
-
Dec 24th, 2005, 07:46 AM
#3
Thread Starter
Lively Member
Re: Calculations in Textboxes
Mr. Hack thanx for attention.
The value appears in the presentstock.text with (-) minus sign..
help, plz
-
Dec 24th, 2005, 03:36 PM
#4
New Member
Re: Calculations in Textboxes
hey first of all you shoul make another text box for that
3 Textboxes presentstock.text, consumed.text and result
result = (consumed.text - presentstock.text)
-
Dec 24th, 2005, 03:50 PM
#5
Re: Calculations in Textboxes
shouldn't it be just the opposite of what you are doing, like this:
VB Code:
presentstock.text = val(presentstock.text) - val(consumed.text)
Pradeep
-
Dec 25th, 2005, 10:42 PM
#6
Thread Starter
Lively Member
Re: Calculations in Textboxes
Hi Good People,
Thanx its working now..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|