
11-09-2003, 01:11 PM
|
|
Banned
|
|
Join Date: Nov 2003
Location: Mtl Quebec Canada
Posts: 17
|
|
calculate bill
|
ok if i do this line to command button it is okay ?
of course is not because the val = 0 at the end
Code:
If tps1.Value = 1 And tvq1.Value = 0 Then
total1.Text = Val(total1.Text) * tps + Val(total1.Text)
that mean that is you checked tps1 check box it will calculate
total1.text = val(total1.text) * tps + val(total.text)
in form load
tps = 0.07
and i
dim tps as integer
|
|