Results 1 to 13 of 13

Thread: Still Lurking at TextBox calculations Problem... Plz Help:(

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2005
    Posts
    102

    Still Lurking at TextBox calculations Problem... Plz Help:(

    Dear mentors,

    This should happen only once when i add something in texbox. But it pluses again values of textbox1.text + textbox2 when i modify a record.

    VB Code:
    1. Private Sub textbox2_KeyPress(KeyAscii As Integer)  
    2.            If keyascii = 13 then  
    3.                    textbox3= val(textbox1.text) + val (textbox2.text)  
    4.             End IF
    5. End IF


    I want: the Result remain stable, if i add something in textbox1 it add in Result and when i delete any value which is already in textbox 1 or 2 it effects on result during modification.

    plz help rapid..
    thanx inadvance
    Last edited by Plucky; Dec 26th, 2005 at 07:53 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width