G
Guest
I have a small snippet of code in a text box on my form:
Private Sub txtTotal1_Enter()
Me.txtTotal1 = (Nz([txtItem1Units], 0) * Me.cboItem1Desc.Column(1)) *
Me.cboItem1Desc.Column(2)
End Sub
Column 1 of the cboItem1Desc is a value (price in fact), column 2 is a
fraction (markup). Calculations using column 1 work fine, no problems.
Calculations using column 2 do not happen at all. Why would this be? Both
formats are exactly the same for the underlying entries in the table!!
Private Sub txtTotal1_Enter()
Me.txtTotal1 = (Nz([txtItem1Units], 0) * Me.cboItem1Desc.Column(1)) *
Me.cboItem1Desc.Column(2)
End Sub
Column 1 of the cboItem1Desc is a value (price in fact), column 2 is a
fraction (markup). Calculations using column 1 work fine, no problems.
Calculations using column 2 do not happen at all. Why would this be? Both
formats are exactly the same for the underlying entries in the table!!