|
-
Nov 23rd, 2000, 02:31 PM
#1
Thread Starter
Member
Hi, I am just a beginner with VB. I'm trying to get numbers to total on a form using text boxes. I can get it to work with a command_click but would prefer if it would total on it's own, no command_click button. eg: enter number in text1 number shows up also in text3 (assuming this is the totaling text box).
This is the code I'm using presently with the command_click.
Private Sub Command1_Click()
Dim intNoA As Integer
Dim intNoB As Integer
intNoA = Text1
intNoB = Text2
Text3 = intNoA + intNoB
End Sub
This is probably simple so please have patience with me.
I certainly appreciate you taking the time to respond to this request.
Thanks, newvbr
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
|