Hello, novice here again
I can get the valjobtotal.text field to populate correctly. If I take the FormatCurrency option off, it just puts the two values in the field instead of adding them together. What am I missing?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim promo1total, promo2total, promo3total, jobtotal As Object
valfttotal.Text = (vallength.Text * valwidth.Text) * valprints.Text
valprinttotal.Text = FormatCurrency(valfttotal.Text * valftcost.Text, 2)
promo1total = (valpromo1.Text * valpromo1cost.Text)
promo2total = (valpromo2.Text * valpromo2cost.Text)
promo3total = (valpromo3.Text * valpromo3cost.Text)
valpromototal.Text = FormatCurrency(promo1total + promo2total + promo3total, 2)
jobtotal = (valprinttotal.Text + valpromototal.Text)
valjobtotal.Text = FormatCurrency(jobtotal, 2)
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim promo1total, promo2total, promo3total, jobtotal As Object
valfttotal.Text = (vallength.Text * valwidth.Text) * valprints.Text
valprinttotal.Text = FormatCurrency(valfttotal.Text * valftcost.Text, 2)
promo1total = (valpromo1.Text * valpromo1cost.Text)
promo2total = (valpromo2.Text * valpromo2cost.Text)
promo3total = (valpromo3.Text * valpromo3cost.Text)
valpromototal.Text = FormatCurrency(promo1total + promo2total + promo3total, 2)
jobtotal = (valprinttotal.Text + valpromototal.Text)
valjobtotal.Text = FormatCurrency(jobtotal, 2)
End Sub