Very new to VB.. building this little piece of code just to learn mainly..
Very simple program, I have 3 text boxes which each accept numeric values. I have a calculate button that I want it to sum up the values in the 3 text boxes..
For example
txtCash
txtCheck
txtMisc
txtTotal
cmdCalculate
I thought that the following would work one the On_click for the Calculate command button:
txtTotal = txtCash + txtCheck + txtMisc
But I guess it is not quite that simple..
I'm not even sure I'm going about this right at all, any help; greatly appreciated.
Very simple program, I have 3 text boxes which each accept numeric values. I have a calculate button that I want it to sum up the values in the 3 text boxes..
For example
txtCash
txtCheck
txtMisc
txtTotal
cmdCalculate
I thought that the following would work one the On_click for the Calculate command button:
txtTotal = txtCash + txtCheck + txtMisc
But I guess it is not quite that simple..
I'm not even sure I'm going about this right at all, any help; greatly appreciated.