Public Sub GetTotal()
Dim Labor As Integer
Dim Total As Currency
Dim LaborRate As Currency
LaborRate = 60#
Labor = LaborRate * Val(flexDA.TextMatrix(flexDA.Row, 2))
Total = Labor + Val(flexDA.TextMatrix(flexDA.Row, 3))
txtLaborTotal.Text = Total
End Sub
TextMatrix col2 is the Labor Hours.
TextMatrix col3 is the Part Price.
The txtLaborTotal.Text stays on 0 and never increases
I just want the value of the current row, not all rows. My intention is to put the LaborTotal and the PartPrice (added together) into the last column of the flexgrid,(Total) and keep a running SubTotal of the Total Column but I can't even get it into the temporary txtLaborTotal box. Every day above ground is a GOOD DAY!!!
Dim Labor As Integer
Dim Total As Currency
Dim LaborRate As Currency
LaborRate = 60#
Labor = LaborRate * Val(flexDA.TextMatrix(flexDA.Row, 2))
Total = Labor + Val(flexDA.TextMatrix(flexDA.Row, 3))
txtLaborTotal.Text = Total
End Sub
TextMatrix col2 is the Labor Hours.
TextMatrix col3 is the Part Price.
The txtLaborTotal.Text stays on 0 and never increases
I just want the value of the current row, not all rows. My intention is to put the LaborTotal and the PartPrice (added together) into the last column of the flexgrid,(Total) and keep a running SubTotal of the Total Column but I can't even get it into the temporary txtLaborTotal box. Every day above ground is a GOOD DAY!!!