bill201
asked on
a problem in a sum function in vba access 2010
what it wrong in this method that i try to use in acces vba (to make a the round the total before tax to make that the toal with the tax (that is there 0.16 precent) will be a round number:
Private Sub RoundThePrice()
Dim d
d = sum(Forms!invoicet!invoice detailst.F orm!Total * 1.16 - Round(Forms!invoicet!invoi cedetailst .Form!Tota l * 1.16, 0) / 1.16)
End Sub
but a get a compile error :
Sub or Function not defined
Private Sub RoundThePrice()
Dim d
d = sum(Forms!invoicet!invoice
End Sub
but a get a compile error :
Sub or Function not defined
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.